WindowsTips
a few Windows Tips。
暂停windows更新时长
打开window的cmd 控制台,执行下面这个命令, 然后再打开设置,找到暂停更新,这里就可以随意暂停多少周.
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v FlightSettingsMaxPauseDays /t reg_dword /d 3000 /f
Color filters 颜色滤镜 - 查看明度
轻松查看颜色明度,有助于日常美术工作。
重启 资源管理器 bat
restartExplorer.bat
@echo off
title restart Explorer Sample program :)
set/p "p=restart Explorer,"<nul & pause
Call :_RestartExplorer
echo done!
pause
:: restart Explorer
goto :eof
:_RestartExplorer
(
echo Dim arrURL^(^), strURL, oShell, oWin, n
echo n = -1
echo Set oShell = CreateObject^("Shell.Application"^)
echo For Each oWin In oShell.Windows
echo If Instr^(1, oWin.FullName, "\explorer.exe", vbTextCompare^) Then
echo n = n + 1
echo ReDim Preserve arrURL^(n^)
echo arrURL^(n^) = oWin.LocationURL
echo End If
echo Next
echo CreateObject^("WScript.Shell"^).run "tskill explorer", 0, True
echo For Each strURL In arrURL
echo oShell.Explore strURL
echo Next
)>"%temp%\RestartExplorer.vbs"
CScript //NoLogo "%temp%\RestartExplorer.vbs"
del /q /f "%temp%\RestartExplorer.vbs"
goto :eof