.BAT文件
我不清楚.bat是什么,我上百度搜索,搜到一些代码,自己建立了文本文档,把.txt改成.bat,就这样做出了一个删除系统无用文件的程序出来
这是我在百度搜索到的代码。
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\*.*"
你们也可以试一下,
但是我现在具体对.bat还不是很了解,希望到这里的访客有了解的发表一下自己的意见,共同进步!