本帖最后由 ygqiang 于 2011-10-14 18:37 编辑
- dc.exe -refresh=60
-
- @echo off & setlocal EnableDelayedExpansion
- for /f "skip=1 tokens=14,15 " %%i in ('wmic DESKTOPMONITOR') do (
- set /a n+=1
- set nW!n!=%%j
- set nH!n!=%%i
- )
- echo !nw1! , !nh1!
-
- pause
-
-
- if !nw1!==1024 (if !nh1!==768 (dc.exe -refresh=75))
- if !nw1!==1440 (if !nh1!==900 (dc.exe -refresh=60))
复制代码
|