remove space issue
This commit is contained in:
parent
358d146565
commit
0d78696ef8
4 changed files with 13 additions and 13 deletions
|
@ -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" (
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
|
||||
:: 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
|
||||
|
@ -41,7 +41,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
|
||||
|
|
Loading…
Reference in a new issue