用到工具:nircmd.exe
详细查看官网:https://www.nirsoft.net/utils/nircmd.html

命令:

@echo off
:begin
nircmd.exe savescreenshot c:\scr~$currdate.MM_dd_yyyy$-~$currtime.HH_mm_ss$.png
timeout /T 3600 /nobreak
cls
goto begin