|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Aug 2000
Posts: 372
|
Hide files depending on file extensions
Is there anyway to hide certain files in a directory depending on what their file extension is? For instance, with Adobe Pagemaker 6.5, it makes two files for every document, .p65 and .pmn (or something i cant remember the latter) the pmn files are useless for viewing and opening, and they occupy space and it takes longer to find the file i need cause these .pmn files are everywhere. (I have around 150 p65 files, so 150 pmn files as well, so maybe that will help explain the significance
|
|
|
|
|
|
#2 |
|
Member
Join Date: Mar 1999
Location: Ontario, Canada
Posts: 3,392
|
If hidden files are not being shown in Windows, one way could be to use the ATTRIB command in DOS ex:
attrib *.pmn +h and to make them back unhidden, it could be either through windows by highlighting all the files, selecting properties, and taking the checkmark off that attribute ... or again in DOS with attrib *.pmn -h
__________________
/\rchie |
|
|
|
|
|
#3 |
|
Member (9 bit)
Join Date: Aug 2000
Posts: 372
|
i guess i never thought of that, and it makes sense, only, is there a way that will make all *.pmn files hidden, right after i save them? without me marking them as hidden?
|
|
|
|
|
|
#4 |
|
Member
Join Date: Mar 1999
Location: Ontario, Canada
Posts: 3,392
|
I can't think of an easier way than to create a little batch file, making a shortcut for it, and running it when needed [possibly with a hotkey]. The batch file would be something like:
c:\ cd "program files\where your files are" attrib *.pmn +h [and make the shortcut 'close on exit'] note: - When folders have more then 8 characters such as in the example above, use quotes, otherwise they are not needed for 8 characters or less. There may be another way of doing what you want. This is the only way I can think of right now. |
|
|
|
|
|
#5 |
|
Member (9 bit)
Join Date: Aug 2000
Posts: 372
|
thanks archie, i'm gunna give this a try tomarrow
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|