Y8论坛-舟山东路论坛

标题: 系统DIY [打印本页]

作者: 问君    时间: 2007-11-6 18:11
标题: 系统DIY
<p>把以下的文件复制到记事本里并另存为:XPSYSTEM.cmd ,然后双击运行看看吧,这是用DOS命令做系统软件,值得一看:</p><p>@echo off<br/>TITLE ▉▉▉ XP系统工具补丁 ▉▉▉<br/>color<br/>:lpSTART<br/>cls<br/>ECHO.<br/>ECHO ┌──────────────┐ <br/>ECHO │▉▉▉ XP系统工具补丁 ▉▉▉│<br/>ECHO └──────────────┘<br/>ECHO. &amp; ECHO.<br/>ECHO K.显示最近使用文档 D.清除最近使用文档列表<br/>ECHO C.清除临时文件夹 A.清除所有系统垃圾<br/>ECHO L.锁定显藏文件 U.显示隐藏文件<br/>ECHO R.重启计算机 S.关闭计算机<br/>ECHO B.调用系统通用程序<br/>ECHO. &amp; ECHO.<br/>set /p CHS= 请选择 :<br/>if /i "%CHS%"=="R" (<br/>shutdown /r /t 0<br/>goto lpEND<br/>)<br/>if /i "%CHS%"=="S" (<br/>shutdown /s /t 0<br/>goto lpEND<br/>)<br/>if /i "%CHS%"=="K" (<br/>ECHO. &amp; ECHO 以下为最近使用过的文档: &amp; ECHO. &amp; ECHO ----------------------------------<br/>tree "%userprofile%\recent" /F<br/>ECHO ---------------------------------- &amp; ECHO. &amp; ECHO.<br/>PAUSE<br/>)<br/>if /i "%CHS%"=="D" (<br/>ECHO. &amp; ECHO.<br/>del /f /q %userprofile%\recent\*.*<br/>del /f /s /q "%userprofile%\recent\*.*"<br/>ECHO. &amp; ECHO 清除完毕!<br/>ECHO. &amp; ECHO. &amp; ECHO. &amp; ECHO. &amp; Pause<br/>)<br/>if /i "%CHS%"=="L" (<br/>ECHO. &amp; ECHO.<br/>regsvr32 /u /s igfxpph.dll<br/>reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\NOHIDDEN /v CheckedValue /t REG_DWORD /d 2 /f<br/>reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\NOHIDDEN /v DefaultValue /t REG_DWORD /d 2 /f<br/>reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL /v CheckedValue /t REG_DWORD /d 2 /f<br/>reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL /v DefaultValue /t REG_DWORD /d 2 /f<br/>Echo. &amp; ECHO. &amp; ECHO 锁定隐藏文件成功,重启自动生效! &amp; ECHO. &amp; ECHO.<br/>Pause<br/>)<br/>if /i "%CHS%"=="U" (<br/>ECHO. &amp; ECHO.<br/>regsvr32 /u /s igfxpph.dll<br/>reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\NOHIDDEN /v CheckedValue /t REG_DWORD /d 2 /f<br/>reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\NOHIDDEN /v DefaultValue /t REG_DWORD /d 2 /f<br/>reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL /v CheckedValue /t REG_DWORD /d 1 /f<br/>reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL /v DefaultValue /t REG_DWORD /d 2 /f<br/>ECHO. &amp; ECHO. &amp; ECHO 显示隐藏文件成功,重启自动生效! &amp; ECHO. &amp; ECHO.<br/>Pause<br/>)<br/>if /i "%CHS%"=="C" (<br/>ECHO. &amp; ECHO.<br/>del /f /s /q "%userprofile%\Local Settings\Temp\*.*"<br/>ECHO. &amp; ECHO 清除完毕!<br/>ECHO. &amp; ECHO. &amp; ECHO. &amp; ECHO. &amp; Pause<br/>)<br/>if /i "%CHS%"=="A" (<br/>ECHO. &amp; ECHO.<br/>ECHO 正在清除,请稍等...... &amp; ECHO.<br/>ECHO del /f /s /q %systemdrive%\*.tmp<br/>ECHO del /f /s /q %systemdrive%\*._mp<br/>ECHO del /f /s /q %systemdrive%\*.log<br/>ECHO del /f /s /q %systemdrive%\*.gid<br/>ECHO del /f /s /q %systemdrive%\*.chk<br/>ECHO del /f /s /q %systemdrive%\*.old</p><p>del /f /s /q %systemdrive%\*.tmp <br/>del /f /s /q %systemdrive%\*._mp <br/>del /f /s /q %systemdrive%\*.log <br/>del /f /s /q %systemdrive%\*.gid <br/>del /f /s /q %systemdrive%\*.chk <br/>del /f /s /q %systemdrive%\*.old </p><p>del /f /s /q %systemdrive%\recycled\*.*<br/>del /f /s /q %windir%\prefetch\*.*<br/>rd /s /q %windir%\temp &amp; md %windir%\temp<br/>del /f /q %userprofile%\cookies\*.*<br/>del /f /q %userprofile%\recent\*.*<br/>del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"<br/>del /f /s /q "%userprofile%\Local Settings\Temp\*.*"<br/>del /f /s /q "%userprofile%\recent\*.*"<br/>ECHO. &amp; ECHO 清除完毕!<br/>ECHO. &amp; ECHO. &amp; ECHO. &amp; ECHO. &amp; Pause<br/>)<br/>if /i "%CHS%"=="B" (<br/>Call XP通用程序.cmd<br/>goto lpEND<br/>)<br/>SET CHS==""<br/>goto lpSTART<br/>:lpEND<br/></p>




欢迎光临 Y8论坛-舟山东路论坛 (https://y8bbs.com/) Powered by Discuz! X3.2