|
for /f "tokens=1, 2 delims=: " %%j in ('TIME /T') do set time1=%%j
if "%time1%"=="00" regedit /s 1.reg
if "%time1%"=="01" regedit /s 1.reg
if "%time1%"=="02" regedit /s 1.reg
if "%time1%"=="03" regedit /s 1.reg
if "%time1%"=="04" regedit /s 1.reg
if "%time1%"=="05" regedit /s 1.reg
if "%time1%"=="06" regedit /s 1.reg
if "%time1%"=="07" regedit /s 1.reg
if "%time1%"=="08" regedit /s 1.reg
我只会这样写,哈哈,请高手拿出更好的来. |
|