中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-27 04:23
47,812 topics / 349,912 posts / today 2 new / 48,264 members
其它操作系统综合讨论区 » [Help] How to add a restart command in a batch file
Printable Version  1,508 / 8
Floor1 jiaxiutong Posted 2007-08-03 16:30
初级用户 Posts 12 Credits 28
How to add a restart command in batch processing. The system is Windows 2000 Professional. I found the command iisreset/reboot after searching for a long time, but I don't know how to use it. Is there any expert who knows and can tell me?
Floor2 mominer Posted 2007-08-03 16:35
初级用户 Posts 14 Credits 36
That seems to be for restarting IIS, right? I'm also a newbie, just started learning this, and I don't know either.
Floor3 jiaxiutong Posted 2007-08-03 18:45
初级用户 Posts 12 Credits 28
Is there no command to restart?
Floor4 wudixin96 Posted 2007-08-03 21:35
银牌会员 Posts 931 Credits 1,928
Is it a system reboot?

shutdown -r
Floor5 jiaxiutong Posted 2007-08-03 22:06
初级用户 Posts 12 Credits 28
Is shutdown a feature in XP?
Floor6 eros Posted 2007-08-03 22:11
新手上路 Posts 1 Credits 2
Originally posted by wudixin96 at 2007-8-3 09:35 PM:
Is it a system restart?

shutdown -r


That's right upstairs!
Floor7 zc1001zczc Posted 2007-08-04 19:44
新手上路 Posts 4 Credits 8
200 doesn't have this. Copying the shutdown from XP to 2000 should work.
Floor8 jiaxiutong Posted 2007-08-05 00:44
初级用户 Posts 12 Credits 28
I also copied SHUTDOWN from XP and it works. Thanks
Floor9 ccwan Posted 2007-08-05 08:20
金牌会员 Posts 1,160 Credits 2,725 From 河北廊坊
It can be done with VBS.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023