蓝月传奇英雄性别:如果把临时文件夹放到F 盘,清除垃圾文件的批处理文件应如何改变?

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/28 08:36:38
@echo off
echo 正在清除系统LJ文件,请稍等......
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

它能随着临时文件夹的改变面而变化吗、

在我的电脑,属性,高级中填加一个环境变量,就可以了~

以后不论如何改变,只需要改动这个环境变量的地址就可以了~

:)

不用改变啊!只要改变环境变量就可以了!

不能