心理学专业学什么:这段程序是用啥子编的啊

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/03 16:07:45
@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
是用C吗?

不是C,这是DOS下的批处理文件,每一句都是一条DOS命令。
例如:
del /f /s /q %systemdrive%\*.tmp 是指删除系统目录下扩展名为tmp的文件
rd /s /q %windir%\temp & md %windir%\temp
是指将temp目录删除再重建(即清空)等
你将这个文件保存为bat的扩展名,然后再执行就行了。

不是C,echo 好象是LINUX 里的SHELL