fix echo's
This commit is contained in:
parent
8a41d9a283
commit
3f2928a024
3 changed files with 12 additions and 12 deletions
|
@ -11,33 +11,33 @@ fltmc >nul 2>&1 || (
|
||||||
ECHO CTMPF :: Clean TeMPorary Files
|
ECHO CTMPF :: Clean TeMPorary Files
|
||||||
|
|
||||||
:: Empty the user's temp folder
|
:: Empty the user's temp folder
|
||||||
ECHO Suppression 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 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 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" (
|
||||||
ECHO Supprime l'ancienne installation de Windows %SYSTEMDRIVE%\Windows.old...
|
ECHO Supprime l'ancienne installation de Windows dans %SYSTEMDRIVE%\Windows.old...
|
||||||
TAKEOWN /f "%SYSTEMDRIVE%\Windows.old" /a /r /d y
|
TAKEOWN /f "%SYSTEMDRIVE%\Windows.old" /a /r /d y
|
||||||
ICACLS "%SYSTEMDRIVE%\Windows.old" /grant administrators:F /t
|
ICACLS "%SYSTEMDRIVE%\Windows.old" /grant administrators:F /t
|
||||||
RMDIR /s /q "%SYSTEMDRIVE%\Windows.old"
|
RMDIR /s /q "%SYSTEMDRIVE%\Windows.old"
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Clear thumbnail cache
|
:: Clear thumbnail cache
|
||||||
ECHO Effacer le cache des miniatures de l'explorateur de fichiers...
|
ECHO Efface la cache des miniatures de l'explorateur de fichiers...
|
||||||
DEL /f /s /q /a %LOCALAPPDATA%\Microsoft\Windows\Explorer\*.db
|
DEL /f /s /q /a %LOCALAPPDATA%\Microsoft\Windows\Explorer\*.db
|
||||||
|
|
||||||
:: Clean disks
|
:: Clean disks
|
||||||
ECHO Nettoyage de l'oRMDIRinateur avec cleanmgr...
|
ECHO Nettoyage de l'ordinateur avec cleanmgr...
|
||||||
CD %WINDIR%\system32
|
CD %WINDIR%\system32
|
||||||
cleanmgr.exe /AUTOCLEAN
|
cleanmgr.exe /AUTOCLEAN
|
||||||
cleanmgr.exe /VERYLOWDISK
|
cleanmgr.exe /VERYLOWDISK
|
||||||
|
|
|
@ -12,7 +12,7 @@ PowerShell -Command "&{[Net.ServicePointManager]::SecurityProtocol =" ^
|
||||||
|
|
||||||
:: Delete newly created Spotify shortcut
|
:: Delete newly created Spotify shortcut
|
||||||
DEL %HOMEPATH%\Desktop\Spotify.lnk
|
DEL %HOMEPATH%\Desktop\Spotify.lnk
|
||||||
ECHO Raccourci sur le Bureau detruit
|
ECHO Raccourci sur le bureau supprimé
|
||||||
TASKKILL /IM explorer.exe /F
|
TASKKILL /IM explorer.exe /F
|
||||||
START explorer.exe
|
START explorer.exe
|
||||||
|
|
||||||
|
|
|
@ -103,14 +103,14 @@ PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/r
|
||||||
|
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/Dark-Reader-Settings.json -OutFile '%HOMEPATH%\Downloads\Dark-Reader-Settings.json'"
|
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/Dark-Reader-Settings.json -OutFile '%HOMEPATH%\Downloads\Dark-Reader-Settings.json'"
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/SponsorBlockConfig.json -OutFile '%HOMEPATH%\Downloads\SponsorBlockConfig.json'"
|
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/SponsorBlockConfig.json -OutFile '%HOMEPATH%\Downloads\SponsorBlockConfig.json'"
|
||||||
ECHO La configuration des differents Addons de Firefox est presente dans le dossier %HOMEPATH%\Downloads.
|
ECHO La configuration des différents Addons de Firefox est présente dans le dossier %HOMEPATH%\Downloads.
|
||||||
|
|
||||||
:: === User Diag for drivers ==
|
:: === User Diag for drivers ==
|
||||||
ECHO Installe les pilotes, pour connaitre la liste des pilotes, utilise UserDiag https://userdiag.com/download
|
ECHO Installe les pilotes, pour connaître la liste des pilotes, utilise UserDiag https://userdiag.com/download
|
||||||
|
|
||||||
:: === W10Privacy ==
|
:: === W10Privacy ==
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/W10Privacy.ini -OutFile '%HOMEPATH%\Downloads\W10Privacy.ini'"
|
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/W10Privacy.ini -OutFile '%HOMEPATH%\Downloads\W10Privacy.ini'"
|
||||||
ECHO Ensuite, utilise W10Privacy (https://www.w10privacy.de/deutsch-start/download/) avec le fichier present dans %HOMEPATH%\Downloads (version 4.0.0.1).
|
ECHO Ensuite, utilise W10Privacy (https://www.w10privacy.de/deutsch-start/download/) avec le fichier présent dans %HOMEPATH%\Downloads (version 4.0.0.1).
|
||||||
|
|
||||||
:: === Modules ==
|
:: === Modules ==
|
||||||
PowerShell -Command "Install-PackageProvider -Name NuGet -Force"
|
PowerShell -Command "Install-PackageProvider -Name NuGet -Force"
|
||||||
|
@ -147,8 +147,8 @@ ECHO Installe Xournal++ via https://xournalpp.github.io/installation/windows/
|
||||||
:: Rename shortcut for Minecraft
|
:: Rename shortcut for Minecraft
|
||||||
RENAME "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Prism Launcher.lnk" Minecraft.lnk
|
RENAME "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Prism Launcher.lnk" Minecraft.lnk
|
||||||
|
|
||||||
ECHO Fais un tour des parametres Windows, apres avoir fait toutes les mises a jour disponible sur le PC.
|
ECHO Fais un tour des paramètres Windows, apres avoir fait toutes les mises a jour disponible sur le PC.
|
||||||
ECHO Enfin, redemarre l'ordinateur
|
ECHO Enfin, redémarre l'ordinateur
|
||||||
|
|
||||||
PAUSE
|
PAUSE
|
||||||
EXIT /b
|
EXIT /b
|
||||||
|
|
Loading…
Reference in a new issue