From a9e5083563f5ab7e8fb750a9ffaca4e30b743ec9 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 22 Feb 2024 00:26:55 +0100 Subject: [PATCH] caps --- windows/ctmpf.bat | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/windows/ctmpf.bat b/windows/ctmpf.bat index 54e7f35..eb45789 100644 --- a/windows/ctmpf.bat +++ b/windows/ctmpf.bat @@ -12,37 +12,38 @@ ECHO CTMPF :: Clean TeMPorary Files :: Empty the user's temp folder ECHO Suppression des fichiers dans %TEMP%... -DEL /f /q %LOCALAPPDATA%\Temp\* 2>NUL -RMDIR /s /q "%TEMP%" 2>NUL +DEL /F /Q %LOCALAPPDATA%\Temp\* 2>NUL +RMDIR /S /Q "%TEMP%" 2>NUL :: Empty the system's temp folder ECHO Suppression des fichiers dans %WINDIR%\Temp... -RMDIR /s /q "%WINDIR%\Temp" 2>NUL +RMDIR /S /Q "%WINDIR%\Temp" 2>NUL :: Empty the Prefetch folder ECHO Suppression des fichiers dans %WINDIR%\Prefetch... -RMDIR /s /q "%WINDIR%\Prefetch" 2>NUL +RMDIR /S /Q "%WINDIR%\Prefetch" 2>NUL :: Remove old Windows installation if exist "%SYSTEMDRIVE%\Windows.old" ( ECHO Supprime l'ancienne installation de Windows dans %SYSTEMDRIVE%\Windows.old... TAKEOWN /f "%SYSTEMDRIVE%\Windows.old" /a /r /d y ICACLS "%SYSTEMDRIVE%\Windows.old" /grant administrators:F /t - RMDIR /s /q "%SYSTEMDRIVE%\Windows.old" + RMDIR /S /Q "%SYSTEMDRIVE%\Windows.old" ) :: Empty useless files of Windows ECHO Suppression des fichiers dans C:\$WinREAgent... -RMDIR /s /q "C:\$WinREAgent" 2>NUL +RMDIR /S /Q "C:\$WinREAgent" 2>NUL ECHO Suppression des fichiers dans C:\Recovery... -RMDIR /s /q "C:\Recovery" 2>NUL +RMDIR /S /Q "C:\Recovery" 2>NUL :: Empty AMD installer files ECHO Suppression des fichiers dans C:\AMD... -RMDIR /s /q "C:\AMD" 2>NUL +RMDIR /S /Q "C:\AMD" 2>NUL :: Empty Windows generated logs ECHO Suppression des fichiers dans C:\PerfLogs... +RMDIR /S /Q "C:\PerfLogs" 2>NUL :: Delete Dump ECHO Suppression des logs de la pile C:\DumpStack.log...