Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

unable to hide .tmp files 2

Status
Not open for further replies.

scottdfs

Technical User
Apr 4, 2002
62
US
i modify a document and save it. this creates a new .tmp file that is supposed to be hidden.
i have gone to tools/folder options/view/ do not show hidden files and checked it. but the temp files keep showing up. so i have dozens of temp files in my documents for each document created, and not able to hide them. if i check the temp file properties, type of file shows as archive, hidden file is unchecked. i can manually check it and the .tmp file then becomes hidden. but have hundreds of these files and do not want to manually change each one.
using windows 2000 pro.

thanx for any advice.
 
tmp files are supposed to be hidden? News to me; why didn't Microsoft tell me? (I forgot, in the grand scheme, I don't count)

If the hidden attibute is not set, no matter how much you set the folder options, it's not going to play hide-and-seek with you.

BTW, if your office docs are creating temp files, then something wrong with your system. Most office programs should, in theory, delete temp file after a file has been saved.

Still if you are bent on hiding your tmp files, easiest way is to do it through command prompt. And the command would be
ATTRIB +h *.tmp
for the folder you are in.

Unfortunately, there is little scope here of a lesson on DOS prompts and switches




Vita Brevis
 
BTW, if your office docs are creating temp files, then something wrong with your system. Most office programs should, in theory, delete temp file after a file has been saved."

Not true. If you have Word document open, and there is a temp file (which there is) ~$whatever.doc, if you make changes and save it...the temp file remains. The temp file is deleted when the document is closed...not saved.

faq219-2884

Gerry
My paintings and sculpture
 
Gerry, you are absolutely right. Thanks for correcting that. I got the person in the next cubby to spank me for using wrong verbiage.

Vita Brevis
 
I am trying to understand why the temp files being visible is even an issue. If:

" but have hundreds of these files and do not want to manually change each one."

is true, then something is wrong. Unless of course you actually have hundreds of documents open.

If you have "hundreds" of temp files, then something is not right.

faq219-2884

Gerry
My paintings and sculpture
 

thanks to both of u for your reply's.
the temp files in fact do not go away when the document is closed. not on the computer in question. they do on others. this problem is on of my customers computers. it matters to her because when she goes to my docs to open a file to work on, for example-
file.xls, all of the temp files created each time she has opened the document and changed it show up. so when she scrolls to file.xls to open it, and that file has been modified say 15 times, then file.xls, file.xls~whatever1.tmp, file.xls~whatever2.tmp and so on all appear. and she is unhappy with that. and since this happens with every single word or excel document she uses there are multiple temp files for each document, and many documents.
 
Something is not right. In fact I have never heard of such a thing. Some thoughts.

1. I would possibly try doing a Office Repair.

2. Write a batch file that deletes all temp files. Run it at the end of the day, or the beginning.

3. Having all (or even most) of your files in My Documents is poor organization.

My own My Documents does not have a single file.

If this is indeed true (gobs and gobs of OLD temp files), then it could also be effecting performance. Sounds like that computer needs some very serious cleaning up.

faq219-2884

Gerry
My paintings and sculpture
 
Those names are not, as far as I know, standard names for temporary files created by Office. Does she have an AddIn that might be creating them?

Enjoy,
Tony

------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

I'm working (slowly) on my own website
 
With file names like file.xls~whatever1.tmp, chances are it's the AVG Antivirus or Trend Micro Antivirus causing the problem.

Vita Brevis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top