|
注册表:
请把下面几行存为 不显示秒.reg,然后双击它。如果你又想让任务栏恢复显示秒把00000000改成00000001即可。
-----------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSecondsInSystemClock"=dword:00000000
-----------------------------------------------------------------
还可以用批处理:
请把下面几行存为 不显示秒.bat,然后双击它。如果你又想让任务栏恢复显示秒把"0"改成"1"即可。
——————————————————————————
@Echo Off
Title Don't show second in taskbar!
cd %systemroot%\system32
call :IsAdmin
Reg.exe add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSecondsInSystemClock" /t REG_DWORD /d "0" /f
Exit
:IsAdmin
Reg.exe query "HKU\S-1-5-19\Environment"
If Not %ERRORLEVEL% EQU 0 (
Cls & Echo You must have administrator rights to continue ...
Pause & Exit
)
Cls
goto:eof
——————————————————————————
|
|