ping /n 秒数 127.0.0.1 >nul & shutdown /h将命令中的秒数变成你想要延时的秒数加上1即可就是你想5秒休眠 命令就是这样的ping /n 6 127.0.0.1 >nul & shutdown /h