前一段时间有人问借助第3方软件实现一键关机,其实用批处理就可搞定。如下:
Window9x/me:
在桌面新建一快捷方式,在命令行里输入“%Windir%\RunDll32.exe user.exe,
ExitWindows”再为这个快捷方式设个快捷键就可实现。其中“ExitWindow”改为“ExitWindowExec”则实现重启。
Window200:
同上,命令行里输入“%Windir%\RunDll32.exe %Windir% \System\shell32.dll,SHExitWindowEx 8”。其中8如改为“1,2,4”分别实现“注销,重启,强制关闭电源”。
WindowXP:
同上,命令行里输入“%Windir%\System32\Shutdown.exe -s”。其中参数“-t xx”实现定时关机。如:““%Windir%\System32\Shutdown.exe -s-t 2100 -f”
既35分钟后关机。
一点小技巧(Windows关机)分享一下
comments powered by Disqus