VMware菜单 --> 虚拟机 --> 设置
将windows中的内容拷贝到ubuntu中
cp /mnt/hgfs/share/windows中要拷贝的文件名 拷贝到ubuntu的哪个路径
eg: cp /mnt/hgfs/share/test.c /home/linux/code
将ubuntu中的内容拷贝到windows中
cp windows中要拷贝的文件路径及文件名 /mnt/hgfs/share
eg: cp /home/linux/test.c /mnt/hgfs/share
为共享文件夹创建软链接
eg: ln -s /mnt/hgfs/share /home/linux/share