DelphiFAQ Home Search:
General :: Windows
General Windows topics. User shortcuts, installation/ destallation, compatibility, registry entries, power user and undocumented features.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

How can I mark a whole Windows folder with all subfolders as read-only?

Question:

How can I mark a whole Windows folder with all subfolders as read-only?

Answer:

You can either
  • select that folder in Windows Explorer
  • right-click on the folder
  • select 'properties'
  • check the 'Read Only' box

It will do it for all the subfolders unless you disabled applying inheritable attributes (this can be done or un-done with a click on 'Advanced')

You can also open a 'DOS box' (command line interpreter), go into the folder and use the attrib command as shown below:

cd \ReadonlyFolder
 attrib +r *.* /s

Generated 4:02:51 on Oct 21, 2017