Discussion Locked

Removeing readonly attribs

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is there a scipt-macro or bat file I can use to remove the read only attrib from my backup files I copy off cdroms.
It is a real pain removeing all the readonly attribs from folders and sub folders.
If there is could you please post it so I can just copy & paste it into a note pad file.

Thanks Shane

1 reply

by sgt_shultz

the attrib command does this. go to a command prompt(start/run/command ) and type
attrib /?
to see how this works...
attrib -r /s /d
will do all the files and folders in the current directory...
you could make your notepad file with this line , save it as fixro.bat or some such name and drag it into the folder you've copied the files from the cd into and execute it from there...(otherwise you have to worry about pathnames)

This discussion is closed to new replies.