This commit is contained in:
Mylloon 2023-04-02 20:36:13 +02:00
parent b5d6d1f216
commit 2b6dcc23bc
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 13 additions and 13 deletions

View file

@ -1,8 +1,8 @@
@ECHO off
:: Start as administrator
fltmc >nul 2>&1 || (
PowerShell Start -Verb RunAs '%0' 2> nul || (
fltmc > NUL 2>&1 || (
PowerShell Start -Verb RunAs '%0' 2> NUL || (
EXIT 1
)
EXIT 0
@ -12,17 +12,17 @@ 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" (

View file

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

View file

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

View file

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