How to Mount Windows Shared Folder

Environment
  • Ubuntu 8.04
Introduction
Wanna go to windows server to get some files

Procedures
Install smbfs for mounting cifs
#apt-get install smbfs
Mount the shared folders in one command
#mount.cifs -o username="username",password="password" //Server/SharedFolder /mnt/SharedFolder
If log in directly via the command, the password must not be conflict delimiter characters. If yes, would get a fail
Note that a password which contains the delimiter character (i.e. a comma ',') will fail to be parsed correctly on the command line. However, the same password defined in the PASSWD environment variable or via a credentials file (see below) or entered at the password prompt will be read correctly.
Moreover, need to set the character to be utf8, if there is not just English filename
#mount.cifs -o username="username",password="password",iocharset=utf8,codepage=unicode,unicode
//Server/SharedFolder /mnt/SharedFolder
Reference