![]() ![]() ![]() To create the batch file, simply open a notepad, then paste the below text, then name it " Temp Files Cleanup.bat"ĭEL /S /F /Q %systemroot%\temp\* 1>nul 2>nulĭEL /S /F /Q %systemroot%\SoftwareDistribution\Download\* 1>nul 2>nulįor /f %%i in ('"dir /s /b /ad "%temp%"" 2^>nul') do RD /S /Q %%i 1>nul 2>nulįor /f %%i in ('"dir /s /b /ad %windir%\temp" 2^>nul') do RD /S /Q %%i 1>nul 2>nulįor /f %%i in ('"dir /s /b /ad %windir%\SoftwareDistribution\Download" 2^>nul') do RD /S /Q %%i 1>nul 2>nulĬleans up all the above mentioned folder in addition to some extras like the system logs. Only run the file after you have rebooted if you installed Windows updates I don't trust any utility any more to tinker with my system files or registryĬleans up the Temp folder in the C : \Windows\TempĬleans up the c : \users\yourusername\tempĬleans up the Software Distribution folder where all the Windows updates are downloaded, but after they are installed, Windows doesn't delete them and they are no longer needed. After the latest issue with CCleaner 5, and I know it has always corrupted my search index, I stopped using it and created my own batch file to clean the following folders:Ĭ : \Windows\Software Distribution\Download
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |