(1.)现在windows 创建一个文件件linux,添加一个test.txt文件
(2).虚拟机—设置(red hat linux挂载起来,或运行,有的时候都处于禁用状态,如果这样就有关闭red hat linux,然后再进行设置)--选项 –文件夹共享—文件夹共享(总是启用)--文件夹(添加—next—名称(share)--主文件夹(浏览到刚才创建的文件夹—确定)--next—附件属性(启用该共享)--Finish)--OK
启动该虚拟机
(3.)[root@localhost root]# vm
//输入在系统终端输入vm,敲两次Tab,出现下面vm开通的文件,补全命令
vmstat vm-support vmware-config-tools.pl
(4.)[root@localhost root]# vmware-config-tools.pl
//输入vmware-config-tools.pl回车
[1] "640x480"
[2] "800x600"
[3]< "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x900"
[10] "1400x1050"
[11] "1440x900"
[12] "1680x1050"
[13] "1600x1200"
[14] "1920x1200"
[15] "2364x1773"
Please enter a number between 1 and 15:
[3] 2
//输入数字2,保持800X600显示屏幕大小
[root@localhost root]#cd /mnt/hgfs
//如果vmware tools安装了,即使没有设置共享文件夹,都会出现有hgfs
[root@localhost hgfs]#cd share
//切换到名称为share目录
[root@localhost share]# ll
//显示文件内容,刚才在linux创建的test.txt文件
总用量 0
-rwxrwxrwx 1 root root 0 1月 4 22:41 test.txt
本文转自 chen138 51CTO博客,原文链接:http://blog.51cto.com/chenboqiang/261433,如需转载请自行联系原作者