Contents
Previous Next
Using Shared Folders
Using Shared Folders
With shared folders, you can easily share files among virtual machines and the host computer. To use shared folders, you must have the current version of VMware Tools installed in the guest operating system and you must configure Virtual Machine Settings to specify which directories are to be shared.
VMware Workstation 5 includes new performance enhancements for shared folders.
You can use shared folders with virtual machines running the following guest operating systems:
Windows Server 2003
Windows XP
Windows 2000
Windows NT 4.0
Linux with a kernel version of 2.4 or higher
To set up one or more shared folders for a virtual machine, be sure the virtual machine is open in Workstation and click its tab to make it the active virtual machine. Go to VM > Settings > Options and click Shared folders.
You can add one or more directories to the list. Those directories may be on the host computer or they may be network directories accessible from the host computer.
In a Windows guest operating system, shared folders can be viewed using Windows Explorer in My Network Places (Network Neighborhood for a Windows NT guest) under VMware Shared Folders.
Note: If you have trouble locating a shared folder when using the desktop icon for My Network Places (or Network Neighborhood in Windows NT), instead open Windows Explorer and look in My Network Places (Network Neighborhood). The Windows desktop icon does not display an option for Entire Network.
For example, if you specify the name Test files for one of your shared folders, you can navigate to it by opening My Network Places > VMware Shared Folders > .host > Shared Folders > Test files.
You can also go directly to the folder using the UNC path
\\.host\Shared Folders\Test files.
You can map a shared folder to a drive letter just as you would with a network share.
Note: If your guest operating system has VMware Tools from Workstation 4.0, shared folders appear as folders on a designated drive letter.
In a Linux virtual machine, shared folders appear under /mnt/hgfs. So the shared folder in this example would appear as /mnt/hgfs/Test files.
To add a new shared folder to the list, click Add. On a Windows host, a wizard guides you through the process. On a Linux host, a dialog box appears. Enter the required information, then click OK.
Provide the following information:
The path on the host to the directory you want to share. Type in the full path or browse to the directory.
The name for the directory. This is the name that appears inside the virtual machine.
Whether the shared folder is enabled. You may want to add a folder to the list without enabling it immediately. You can then enable the folder at any time by clicking its name in this list, clicking Properties and enabling the folder in the Properties dialog box.
Access options for the shared folder. You can give the current virtual machine read-only access, or read-write access. Access to files in the shared folder is also governed by permission settings on the host computer. For example, if you are running VMware Workstation as a user named User, the virtual machine can read and write files in the shared folder only if User has permission to read and write them.
Expiration options for the shared folder. You can specify that the folder is always enabled or that it is enabled only during the current working session. If you select Disable after this session, the shared folder is disabled when you suspend or power off the virtual machine.
To change the settings for a shared folder on the list, click the folder's name to highlight it, then click Properties. The Properties dialog box appears.
Change any settings you wish, then click OK.
Note: You can use shared folders to share any type of file. However, Windows shortcuts and Linux symbolic links do not work correctly if you try to use them via shared folders.
Caution: Do not open a file in a shared folder from more than one application at a time. For example, you should not open the same file using an application on the host operating system and another application in the guest operating system. In some circumstances, doing so could cause data corruption in the file.