Friday, October 14, 2005

batch file

rem This batch file will traverse
rem the whole directory tree and set
rem the files to read-only mode.
rem
rem To remove read-only simply
rem change +R to -R.
FOR /R %%d IN (.) DO (
attrib +R /s "%%d"\*.*
)

No comments: