For example, MS Word writes a ~filename.docx temp file when I open a document. I would like to hide these files.
you can perhaps open word files from a folder rather on the desktop? If that folder is the desktop, then the temp files will be there too
perhaps the command?
ATTRIB +h *.tmp
this method will applicable to temp files also.
Or Temp files only ?!
These ms word temp files have the same name and extension prefixed by ~$ anywhere, in any folder.
*.docx or *.doc
And they are hidden by default.
You just have to set folder options not to show hidden files.
set folder options not to show hidden files is the right method for all hidden files as you mentioned, asking windows to hide only a certain temp files it is a long way i believe.
You still did not understand,
1)It is not a *.tmp file, it is *.docx or *.doc file.
So attrib +h*.tmp will not affect, it is for *.tmp files only.
2) The file already has the Hidden attribute by default.
The only step remains is telling the folder options not to show the hidden files, and the file will not be displayed.
i do understand they are not temp (~$w Microsoft Word Document) files as .tmp, but still they are temporarily shown
then How will
ATTRIB +h *.tmp
Open a word document, and check the folder where the word file is located. You will see the what the person is asking about.
How is folder locking related to hiding files? The links takes me to a instructions on locking a folder with password but the above user chad asked for hiding files...
Hello, these files are hidden by default, unless the default settings were changed.
I think the temporary file contains, whatever you write before saving, so it can be recovered if ms word is closed without saving the file.
You can choose "do not show hidden files" (from the view tab of folder options which is in the tools menu) and the file will not be displayed.
Yes, you can hide the doc temp files
Type folder options in the search box after clicking Start.
Click on the View tab on the Folder Options window.
In the Advanced settings: area, locate the Hidden files and folders category.
Choose the Don't show hidden files, folders, or drives radio button under the Hidden files and folders category.
Click OK at the bottom of the Folder Options window.
Close the Control Panel window that's still open.
That's it, your doc temp files will not be seen...
Here is a link that will give you more complete and explained instructions if you don't understand the above
THE ABOVE WERE instructions for hiding hidden files.
NOW, HOW TO HIDE FILES CHECK THESE INSTRUCTIONS on this website..(instructions are with pictures)
I hope it helped...