创建一个bat文件,复制粘贴后,保存,运行 一小时后自动休眠,提醒抬头
@echo off
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin
for /l %%i in (3600,-1,0) do (
cls
ping 127.1 -n 2 >nul
)
rundll32.exe user32.dll LockWorkStation
exit
~~~