Change properties of files in directory (and sub-directories)

  • Thread starter Thread starter vanrinsg
  • Start date Start date
V

vanrinsg

Is there a freeware which should be able to remove all Read-Only properties
of directories (sub_directories)
 
Is there a freeware which should be able to remove all Read-Only properties
of directories (sub_directories)

It can be done in a dos box using the ATTRIB command:

C:\>attrib/?
Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [[drive:] [path] filename]
[/S [/D]]

+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
/S Processes matching files in the current folder
and all subfolders.
/D Processes folders as well.

Use this command:
First navigate to the folder with sobfolders
c:\ cd "folder with subfolder"
then
ATTRIB -R /S /D *.*

Regards
Thorkild Dalsgaard
 
vanrinsg said:
Is there a freeware which should be able to remove all Read-Only properties
of directories (sub_directories)

Do a Google search for "Read Only attributes" (without the quotes of course)
freeware. Lot of hits to choose from.

Zo
 
Windows Explorer...right-click on folder...select properties...uncheck read
only option...select for this and lower folders.
 
Is there a freeware which should be able to remove all Read-Only
properties of directories (sub_directories)

Add this to your registry. It will put a 'Clear read-only flag' onto your
right click context menu for directories, and will clear read-only
attributes from files in the directory AND subdirectories.

-------------------------------------------------------
REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\readonly]
@="Clear Read Only flag"

[HKEY_CLASSES_ROOT\Directory\shell\readonly\command]
@="attrib -R \"%1\\*.*\" /s"
 
On Tue, 3 Aug 2004 15:22:59 -0500, Ceg wrote...
Windows Explorer...right-click on folder...select properties...uncheck read
only option...select for this and lower folders.

This won't work on Win98SE.
 
On Wed, 4 Aug 2004 17:30:47 -0500, Ceg wrote...
Yeah, ok. 98 wasn't mentioned in the original post that I saw.

Wasn't having a go at you - just pointing it out in case any Win98SE
users out there were trying it and wondering why it wasn't working.
 
Back
Top