China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-23 23:25
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » How to set the startup of ghostsrv.exe on the server on the client side under DOS View 2,126 Replies 4
Original Poster Posted 2006-10-31 07:38 ·  中国 新疆 移动
新手上路
Credits 8
Posts 3
Joined 2006-10-31 06:48
19-year member
UID 68982
Gender Male
From 新疆
Status Offline
I have successfully connected to the shared directory on the server using the "Access LAN Shared Resources under DOS" option of MAX. I can also see the.gho file and ghostsrv.exe file in the directory using the dir command. In the past, I always went to the server to manually set up the ghostsrv.exe program, specifying the corresponding session name, the image file to be restored, the number of clients, and other information. Now I want to run the batch processing on the server directly in the DOS window of the client's shared directory to start ghostsrv.exe and make it automatically configure and run, but I have not been successful. (But it can run successfully on the server). I hope all the experts can give me some pointers!

The content of my batch processing srv.bat is as follows:

ghostsrv xp2.gho max -n1 -p1 -R
Floor 2 Posted 2006-10-31 09:10 ·  中国 北京 联通
高级用户
★★★
Credits 972
Posts 420
Joined 2004-05-16 00:00
22-year member
UID 24467
Gender Male
Status Offline
平生进退如飙风
Floor 3 Posted 2006-10-31 12:16 ·  中国 新疆 移动
新手上路
Credits 8
Posts 3
Joined 2006-10-31 06:48
19-year member
UID 68982
Gender Male
From 新疆
Status Offline
Floor 4 Posted 2006-10-31 23:28 ·  中国 重庆 移动
中级用户
★★
Credits 335
Posts 96
Joined 2004-05-07 00:00
22-year member
UID 23928
Gender Male
Status Offline
I want to directly start ghostsrv.exe by running the batch file on the server in the DOS window of the client's shared directory.
---------------------------------

No way? You need to log in to the server and have a SHELL.

You can use NET USE to map the service shared directory as a virtual drive. Why do you need to execute it on the server?
Freebsd网站架设\局域网维护管理\硬件维修\电路图纸
欢迎到 振兴电子
http://zxdz.8800.org
Floor 5 Posted 2006-11-01 05:36 ·  中国 新疆 移动
新手上路
Credits 8
Posts 3
Joined 2006-10-31 06:48
19-year member
UID 68982
Gender Male
From 新疆
Status Offline
Sharing the service directory as a virtual disk using NET USE can also be used for cloning, but the drawback is that it can only be done one machine at a time. If you use the method of setting up to start ghostsrv.exe, you can clone multiple computers at once.
Forum Jump: