中国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-11-20 03:11
47,820 topics / 349,938 posts / today 0 new / 48,297 members
DOS学习入门 & 精彩文章 (教学室) » The command to restart the computer in DOS state?
Printable Version  7,224 / 19
Floor16 mebius001 Posted 2010-07-01 12:16
新手上路 Posts 1 Credits 2
There is such a command??? I remember in the computer books of those years: Shutdown = turn off the power; Restart = warm boot = ctrl + alt + del
Floor17 yyt199338 Posted 2010-08-06 17:39
新手上路 Posts 2 Credits 4
Nice
Floor18 jinzihao Posted 2010-08-06 17:46
初级用户 Posts 62 Credits 111 From http://ms-dos.cz.cc
ECHO G=FFFF:0000 | DEBUG
The above command is enough, which is to call debug and jump to a specific address to achieve restart.
In MS-DOS 7.1, if there is shutdown.com, you can directly use shutdown/r to restart
shutdown/s to shut down

I found online that this debug program can shut down, but I haven't tried it. It is said that it doesn't work under Windows NT:
mov ax,5301
xor bx,bx
int 15
mov ax,5307
mov bx,1
mov cx,3
int 15
Floor19 hongsehuoyan Posted 2010-08-09 18:34
新手上路 Posts 4 Credits 8
shutdown.exe -s Shutdown
shutdown.exe -r Shutdown and restart
shutdown.exe -t Time Set the shutdown countdown. Set the timeout before shutdown to xxx seconds. For Windows 2003 system, the valid range is 0-600, default is 30
Floor20 yingguang Posted 2010-08-10 13:56
新手上路 Posts 3 Credits 6
Everyone's remarks are really good!
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023