Over time, the c:\Users\%USERNAME%\AppData\Local\Temp\ folder will collect Gigs and Gigs of files from software. It's best to clean it from time to time but make sure there is not anything useful in this folder before deleting. Once it's gone, it's gone. I am not responsible for anything that is deleted. You can navigate to the folder to manually delete the files and folders or create a batch file to delete the files and folder with just double click. I execute the file about once a month to clean the Temp folder.
Here are the steps to create the batch file.
- Open Notepad.
- Copy and paste the script below into the blank Notepad file.
- Click File then SaveAs.
- Click the "Save as type" pull down to select All Files. This will allow the Notepad file to have another file extension type.
- Name the file to your preference with a .bat extension. I named the file "Delete User Temp Files.bat".
- Execute the batch file. You'll see Command Prompt screen appear as it's deleting the files and folders. It will not delete files and folders that are currently being utilized by the OS or open software.
rem This batch file deletes files
rem and folders in the User Temp folder
cd\
c:
cd c:\Users\%USERNAME%\AppData\Local\Temp\
del /s /q c:\Users\%USERNAME%\AppData\Local\Temp\
rmdir /s /q c:\Users\%USERNAME%\AppData\Local\Temp\
cd\