remove space issue

This commit is contained in:
Mylloon 2023-04-05 12:38:43 +02:00
parent 358d146565
commit 0d78696ef8
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 13 additions and 13 deletions

View file

@ -1,8 +1,8 @@
@ECHO OFF @ECHO OFF
:: Start as administrator :: Start as administrator
fltmc > NUL 2> &1 || ( fltmc >NUL 2>&1 || (
PowerShell Start -Verb RunAs '%0' 2> NUL || ( PowerShell Start -Verb RunAs '%0' 2>NUL || (
EXIT 1 EXIT 1
) )
EXIT 0 EXIT 0
@ -12,17 +12,17 @@ ECHO CTMPF :: Clean TeMPorary Files
:: Empty the user's temp folder :: Empty the user's temp folder
ECHO Suppression des fichiers dans %TEMP%... ECHO Suppression des fichiers dans %TEMP%...
DEL /f /q %LOCALAPPDATA%\Temp\* 2> NUL DEL /f /q %LOCALAPPDATA%\Temp\* 2>NUL
RMDIR /s /q "%TEMP%" 2> NUL RMDIR /s /q "%TEMP%" 2>NUL
:: Empty the system's temp folder :: Empty the system's temp folder
ECHO Suppression des fichiers dans %WINDIR%\Temp... 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 :: Empty the Prefetch folder
ECHO Suppression des fichiers dans %WINDIR%\Prefetch... 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 :: Remove old Windows installation
if exist "%SYSTEMDRIVE%\Windows.old" ( if exist "%SYSTEMDRIVE%\Windows.old" (

View file

@ -1,8 +1,8 @@
@ECHO OFF @ECHO OFF
:: Start as administrator :: Start as administrator
fltmc > NUL 2> &1 || ( fltmc >NUL 2>&1 || (
PowerShell Start -Verb RunAs '%0' 2> NUL || ( PowerShell Start -Verb RunAs '%0' 2>NUL || (
EXIT 1 EXIT 1
) )
EXIT 0 EXIT 0

View file

@ -1,8 +1,8 @@
@ECHO OFF @ECHO OFF
:: Start as administrator :: Start as administrator
fltmc > NUL 2> &1 || ( fltmc >NUL 2>&1 || (
PowerShell Start -Verb RunAs '%0' 2> NUL || ( PowerShell Start -Verb RunAs '%0' 2>NUL || (
EXIT 1 EXIT 1
) )
EXIT 0 EXIT 0

View file

@ -2,8 +2,8 @@
SETLOCAL ENABLEDELAYEDEXPANSION SETLOCAL ENABLEDELAYEDEXPANSION
:: Start as administrator :: Start as administrator
fltmc > NUL 2> &1 || ( fltmc >NUL 2>&1 || (
PowerShell Start -Verb RunAs '%0' 2> NUL || ( PowerShell Start -Verb RunAs '%0' 2>NUL || (
EXIT 1 EXIT 1
) )
EXIT 0 EXIT 0
@ -41,7 +41,7 @@ REG ADD "HKEY_CURRENT_USER\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_S
:: === Application downloads == :: === Application downloads ==
:: Auto accept ToT :: Auto accept ToT
ECHO Y | winget list > NUL ECHO Y | winget list >NUL
winget install -he Mozilla.Firefox winget install -he Mozilla.Firefox
winget install -he 7zip.7zip winget install -he 7zip.7zip