Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Have you Cleaned out your TEMP Folder out lately?

SolidWorks Maintenance

Have you Cleaned out your TEMP Folder out lately?

by  SBaugh  Posted    (Edited  )
Cleaning out the TEMP folder

Most people that I have talk with since I have been in Tech support, always says when I ask them if they have cleaned out their Temp folder they say ôYes I have!ö. Most likely they are not thinking in the same place IÆm talking about, because when I point them to the path IÆm describing, they say ôOh thereà. I didnÆt know that was thereö. Well IÆm posting this FAQ because everyone needs to be aware of this. This Folder when not cleaned out can cause [red]Slow downs, Crashes and other strange things to happen.[/red]

To clean out this folder you only need to go to:

1) Open Windows Explorer
2) Go to C:\Documents and Settings\[Log In Name]\Local Settings\TEMP
3) If you do not see the Local Settings folder it is because it is a hidden folder. To show it
a)Click on Tools\Folder Options\View tab b)Listed Below are options for windows explorer - Pick ôShow hidden files and foldersö
c)Click ôOKö
4) If you havenÆt already, Open the Local settings folder and also open the ôTEMPö folder
5) Inside the TEMP folder you will probably see (if you havenÆt cleaned them out in a while) a lot of files and folder. Before you delete these files [red]Close[/red] all programs that are open including MS Outlook, SW and any major program that is running.
6) Once all programs are shutdown you can now do an Edit\Select all\ then click the Delete key. û This will remove all files and folders in the ôTEMPö folder.

To make things easier and at a Double click of the of a mouse button. You can set up *.bat file to do this for you. I canÆt take credit for this ôLoveAerisö (I think) posted this a while back and I have been using it since û Thanks LoveAeris! - If I'm giving credit to the wrong person please let me know.

1) Go to your "My Documents" folder by Explorer
2) Create a new "Text Document" and name it "Clean_Temp.bat" You may get a caution when renaming, but go ahead and hit yes.
3) Right click on the file and select "Edit" (Don't double click or it will be executed.)
4) Type in as followed and save. Don't forget to change (your login name). If your login name is "aabbcc", it should be "cd C:\Documents and Settings\aabbcc\Local Settings" The path indicates a default and change it accordingly if you have customized.

C:
cd C:\Documents and Settings\(your login name)\Local Settings
rd /s/q Temp
md Temp

5) Right click on the file and select "Copy".
6) Right click on your Desktop and select "Paste Shortcut"

Now, you just double click the icon on your Desktop. Be careful about the path in the batch file because all files and folders will be deleted without going to Recycle Box. If you don't know what I am talking about, don't try.


In order to avoid editing it for every user you can use system variable

cd %USERPROFILE%\Local Settings
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search