Sharing Files between VMware and Windows

If you happen to be running Linux in VMware on Windows, this article describes how you can use CIFS on Linux to access shared files on the host Windows system (alternatively, you could use VMware to share folders on the host with the virtual system). CIFS is the Common Internet File System, which is a network file system compatible with Windows.

$ /usr/bin/smbclient -L WindowsHostName

$ /usr/bin/smbclient '\\WindowsHostName\directoryName'

smb> ls


smb> quit

$ mkdir /windows/directoryName

$ mount -t cifs -o password="" '\\WindowsHostName\directoryName' \


\\WindowsHostName\directoryName /windows/directoryName cifs \

uid=userName,password=password 0 0