PDA

View Full Version : File Attributes all set to Nul in error. How can I fix ?



digmen1
12-30-2004, 05:56 PM
For some unknown reason every single file on my machine (Windows ME) has a file attribute of Null.

I can manually reset the files in each folder to Archive.

But is there an easier way to reset all the files ?

I am not sure how it happened but I was playing around with System Mechanic all day yesterday.

Regards

Digby

PS Is there any possible problem if I leave my all files with no attributes ?

Vargas
12-30-2004, 06:10 PM
attrib /?
ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [path][filename]
[/S ]

+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
[drive:][path][filename]
Specifies a file or files for attrib to process.
/S Processes matching files in the current folder
and all subfolders.
/D Processes folders as well.

digmen1
12-31-2004, 04:17 AM
Thanks Vargas !

As an old Doshead myself I should have thought of that !

Just as an aside, do you know how to access long folder names in DOS ?

I had the need the other to delete a Trojan Horse hidden way down in some long sub folder names and I could not get to them in Dos or Windows as they were hidden !

Happy New Year

Digby

Vargas
12-31-2004, 10:21 AM
not sure i understand the question, but...
short filenames: start>run>command
long filenames: start>run>cmd