⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1.txt

📁 clean_system清理系统 大家看着就会用了。 希望能对大家有所帮助。
💻 TXT
字号:
@echo 欢迎大家学习使用,在传播过程中请保留本人版权:华北电力大学计算机025 crystal0064

@echo off
set flag=0
if not exist %windir%\date1.txt (goto createdate) else (
       date /t >%windir%\date2.txt
        goto cmpdate
:cmpdate1
       (
       if not exist %windir%\1.txt (goto createtxt) else (
           if not exist %windir%\times.txt (echo 3 >%windir%\times.txt) else (
        fc %windir%\times.txt %windir%\1.txt
         if !errorlevel! EQU 0 (goto shut
                 ) else (
:clear
              goto timeadd
:next  
if %flag% EQU 0 goto shut     
%SystemDrive%
cd %USERPROFILE%\Recent
del /s /q *.*
cd %TEMP%
del /s /q *.*
cd %TMP%
del /s /q *.*
cd ..
cd History
del /s /q *.*
cd ..
cd "Temporary Internet Files"
del /s /q *.*
   if %flag% EQU 0 (goto shut) else exit
                                                          )
                                                                             )
                                                         )
                                            )
                                                 )
:createdate
date /t >%windir%\date1.txt
:createtxt
echo -1 > %windir%\1.txt
goto clear
:timeadd
for /f %%a in (%windir%\1.txt) do set times1=%%a
             set /a times1=%times1%+1
              copy %windir%\1.txt %windir%\1bak.txt
               echo %times1% > %windir%\1.txt
goto next
:shut
fc %windir%\times.txt %windir%\1.txt
if %errorlevel% EQU 0  (
               copy %windir%\1bak.txt %windir%\1.txt 
               shutdown -f -s -t 1
                       ) else ( set flag=1
                            goto next)
exit
:cmpdate
fc %windir%\date1.txt %windir%\date2.txt
     if %errorlevel% NEQ 0 (goto createdate) else ( goto cmpdate1)
@echo on

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -