bat代码
需要用到nircmd工具,并且加入环境变量
if "%1"=="hide" goto CmdBegin
start mshta vbscript:createobject("wscript.shell").run("""%~0"" hide",0)(window.close)&&exit
:CmdBegin
:main
wmic path Win32_VideoController get VideoModeDescription | find "1920 x 1080" || nircmd.exe setdisplay 1920 1080 32
timeout /t 3
goto main