1、首先创建一个新文本档,如图所示;

3、右键点击,然后点击编辑按钮,进入下一步;

5、再次输入代码:ws.run"cmd.exe /c shutdown -s -f -t 0"调用run方法,其中包含了关机命令(shutdown -s -f -t 0)

时间:2024-11-01 13:41:16
1、首先创建一个新文本档,如图所示;

3、右键点击,然后点击编辑按钮,进入下一步;

5、再次输入代码:ws.run"cmd.exe /c shutdown -s -f -t 0"调用run方法,其中包含了关机命令(shutdown -s -f -t 0)
