您的位置:首页 > 其它

如何让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的自动运行机制开机时自动运行你的快捷键。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: