buyiyang 当前离线
少尉
@echo off for /f "tokens=1-2" %%a in ('wmic path Win32_VideoController get CurrentHorizontalResolution^,CurrentVerticalResolution') do ( if not "%%b"=="" ( set /a w=%%a/2 set /a h=%%b/2 ) ) echo,%w%>D:\1.TXT echo,%h%>>D:\1.TXT pause复制代码
TOP