Is there any software for cleaning Windows' temp folder?
Is there any software for cleaning Windows' local settings / temp folder?
With no installing, not many options, just a simple, nice interface with buttons to do what's needed and which wouldn't scare the younger users. Explicitly made for clearing the temp folder? Or maybe there is some command which can be run in Command Prompt (cmd.exe
)?
It's just that Adobe Shockwave Player has some weird bug. It stores the files in this folder and now I and few other users are experiencing problems with files being used, not found and lot of mess generally which I guess is caused by the files being stored in this folder and not overwriting.
So it's kind of a hard situation here.. Disk Cleanup does not help in clearing this folder and CCleaner is very confusing for young users and people not into the OS.
Solution 1:
You really don't need special software to do a straight delete of all files in any folder, this can be done with a simple batch file or from the command line:
del /s /q /f %temp%\*
del /s /q /f %windir%\temp\*
The first will get the current user temp folder, the other will get the system temp folder that some applications like to use.
EDIT: Per request, here is an explanation of the switches used, as found on MS Documentation:
/f : Forces deletion of read-only files.
/s : Deletes specified files from the current directory and all subdirectories. Displays the names of the files as they are being deleted.
/q : Specifies quiet mode. You are not prompted for delete confirmation.
Solution 2:
menu Start > All Programs > Accessories > System Tools > Disk Cleanup does exactly what you want, it will walk you through the whole process. If you want something more in depth CCleaner is a great free program for this. You can also automate both of these with scheduled tasks.
Let's document this so you can see that it does clean %Temp%
.
- My Temp folder:
- select temp files in Disk Cleanup:
- Temp file after cleaning up; as you can see there are some files left over because they are in use (I'm not actually sure what's up with that debug file from November, but I can't delete it manually so I'll have to look at later):
If you are still having issues, there might be some other problem with how the program placed the temp file there just like I have with that debug file.