『第 18 楼』:
使用 LLM 解释/回答一下
ECHO G=FFFF:0000 | DEBUG
上面的命令即可,就是调用debug,跳转到一个特定的地址,实现重启。
MS-DOS 7.1里面如果有shutdown.com,可以直接shutdown/r 重启
shutdown/s 关机
网上查这段debug程序可以关机,我没试过,据说在Windows NT下不起作用:
mov ax,5301
xor bx,bx
int 15
mov ax,5307
mov bx,1
mov cx,3
int 15
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
|