关闭administrator 用户下的所有程序,除了explorer.exe,lsass.exe,dwm.exe
源码: C:\Windows\System32\taskkill.exe /FI "USERNAME eq administrator" /F /FI "imagename ne explorer.exe" /FI "imagename ne dwm.exe" /FI "imagename ne lsass.exe"
注册当前目录下所有*.DLL,*.OCX控件
源码: copy %cd%\*.ocx %windir%\system32\*.ocx copy %cd%\*.dll %windir%\system32\*.dll for %%a in (*.dll,*.ocx) do regsvr32 /s "%windir%\system32\%%a pause
一键清除垃圾(请在程序关闭完后再清更,以防程序)出错
源码: @echo off echo 正在清除系统垃圾文件,请稍等...... del /f /s /q %systemdrive%\*.tmp del /f /s /q %systemdrive%\*._mp del /f /s /q %systemdrive%\*.log del /f /s /q %systemdrive%\*.gid del /f /s /q %systemdrive%\*.chk del /f /s /q %systemdrive%\*.old del /f /s /q %systemdrive%\recycled\*.* del /f /s /q %windir%\*.bak del /f /s /q %windir%\prefetch\*.* rd /s /q %windir%\temp & md %windir%\temp del /f /q %userprofile%\cookies\*.* del /f /q %userprofile%\recent\*.* del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" del /f /s /q "%userprofile%\Local Settings\Temp\*.*" del /f /s /q "%userprofile%\recent\*.*" echo 清除系统LJ完成! echo. & pause
回首页