发信人: hackerbay(阿土)
整理人: hackerbay(2002-09-06 16:48:52), 站内信件
|
如果你想照这个方法做测试,希望你完全明白你在干什么 :)
VMware-workstation-3.1.1-1790 for windows 2000
AppToService是一个小软件能把可执行程序包装为/NT/2000服务;
Vmware 安装在:D:\Program Files\VMware\VMware Workstation\Programs\vmware
guest os 放在:h:\vmware-os
注意:Vmware 可以带参数启动,具体可参照:vmware /?
安装服务:
AppToService /install "D:\Program Files\VMware\VMware Workstation\Programs\vmware.exe" /AbsName:"Vmware-FreeBSD" /Arguments:" -x h:\vmware-os\freebsd\FreeBSD.vmx" /Directory:"D:\Program Files\VMware\VMware Workstation\Programs"
系统服务里就产生Vmware-FreeBSD这个服务,按你的喜好调整她吧 -:)
AppToService v2.3 - Shareware
Copyright (C) 1996-2000 Basta Computing, Inc. All rights reserved.
Web site: http://www.basta.com
Synopsis: Runs regular applications as Windows services.
Usage: AppToService /? | /?? | [/Install [options] | /Remove "application"]
Main options:
/? Display this help screen.
/?? Display some examples.
/Install Install a service.
/Remove Remove a service.
application The executable file you would like to use as a service.
Install options (* indicates the default setting):
/AbsName:"x" Same as /Name without showing the AppToService prefix.
/Arguments:"x" Where x is the application's command line arguments.
/DependOn:"x" Where x is another service on which this one depends.
/Directory:"x" Where x is the application's working directory.
/Interact:x Where x is 1 (interact with desktop*) or 0 (otherwise).
/Name:"x" Where x is the name of the service (application name*).
/Priority:x Where x is I (Idle), N (Normal*) or H (High).
/Show:x Where x is 1 (Normal*), 2 (Minimized) or 3 (Maximized).
/Startup:x Where x is A (Automatic), M (Manual*) or D (Disabled).
---- -我灌水,我喜欢-
-[GZ163] Core Team Room-
-[GZ163] Core Team Forum-
|
|