如何让Windows开机后自动运行你的VMware虚拟机
2013-08-17 09:29
204 查看
网上有人说用如下批处理可行:
cd C:\Program Files\...\vmplayer\
vmplayer.exe "d:\...\OS.vmx"
很明显第一句语法有问题。改过之后也不一定可行,因为可能VMplayer会报错说:
Error while opening the virtual machine: The configuration file for this virtual machine cannot be found. It might be missing from the virtual machine directory, or the path specified to access this virtual machine might be incorrect.
我试过一个可行的方法是:快捷键+自动启动。
1. 在安装目录上找到那个vmplayer.exe, 右击创建快捷键。可以把句子改成你想要的,比如“VMgforge";
2. 右击那个快捷键,选最下面的”Properties“, 在Shortcut table里的Target框的最后(就是C:\Program...\vmplayer后面)加上空格和”D:\gforge\VMgforge.vmx“. -- 就是把你虚拟机的位置以参数形式告诉这个vmplayer.
注释:如果目录中含有空格,可以加上双引号。
3. 再用Windows的自动运行机制开机时自动运行你的快捷键。
cd C:\Program Files\...\vmplayer\
vmplayer.exe "d:\...\OS.vmx"
很明显第一句语法有问题。改过之后也不一定可行,因为可能VMplayer会报错说:
Error while opening the virtual machine: The configuration file for this virtual machine cannot be found. It might be missing from the virtual machine directory, or the path specified to access this virtual machine might be incorrect.
我试过一个可行的方法是:快捷键+自动启动。
1. 在安装目录上找到那个vmplayer.exe, 右击创建快捷键。可以把句子改成你想要的,比如“VMgforge";
2. 右击那个快捷键,选最下面的”Properties“, 在Shortcut table里的Target框的最后(就是C:\Program...\vmplayer后面)加上空格和”D:\gforge\VMgforge.vmx“. -- 就是把你虚拟机的位置以参数形式告诉这个vmplayer.
注释:如果目录中含有空格,可以加上双引号。
3. 再用Windows的自动运行机制开机时自动运行你的快捷键。
相关文章推荐
- Android程序如何在开机时自动运行
- 怎样实现tomcat做服务器在windows下开机自动运行&后台运行【HOT】
- 如何取消开机自动运行程序
- windows开机自动运行的方式
- Linux如何开机自动运行自己的脚本
- Ubuntu 开机如何自动运行程序
- 如何让android开机后自动运行自己的程序
- 如何把spring微服务部署为Windows Service并开机自动启动
- 让你写的c#程序一开机就自动运行 Windows服务实现开机启动
- Linux如何开机自动运行自己的脚本(转)
- 如何让Linux系统的程序在开机时自动运行
- Windows 开机自动运行
- 如何让程序能够开机自动运行??
- Linux如何开机自动运行自己的脚本
- windows 7如何设置开机自动连网
- 怎样实现tomcat做服务器在windows下开机自动运行
- linux如何开机自动运行自己的脚本
- [导入]VNCServer配置--如何使服务器开机自动运行vncserver
- Windows服务 开机自动运行
- 如何使Linux系统上的程序开机后自动运行 (转)