DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: "IDEA" RECURSE A DRIVE TREE REMOVING WRITE PROTECTION LIKE EMPTY FOLDER REMOVERS  (Read 6,320 times)

BONZ

  • Supporting Member
  • Joined in 2015
  • **
  • Posts: 6
I HONESTLY HAVE NO IDEA  :-\ IF OR HOW DIFFICULT THIS WOULD BE. BUT I HAVE SEARCHED LONG & HARD FOR A UTIL TO SOLVE MY NEED. I NEED IT TO SEARCH FOR FILES/FOLDERS THAT ARE WRITE PROTECTED AND OFFER A TREE LIST OF FOLDER (SOME NICE LITTLE CHECK BOXS TO SELECT THE FOLDERS TO PROCESS WOULD BE REALLY EXECELLENT) TO COMFIRM REMOVING THE "R". THANKS FOR LISTENING!! ;)  :up:

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
I think your only hope of doing this with check boxes is to find a file manager with the feature.  You should be able to remove read only attribute on all files on a drive from the command line using an administrator command prompt.  Just CD to the root as in
CD \ <enter>
attrib -r *.* /S <enter>

But obviously I'm not going to test it on my system since there's a couple hundred thousand files to mess with if something goes wrong.  :)

If you have more than one partition in the command prompt just enter the drive letter
with a colon to change drives
f: <enter>
to go to drive f  etc..

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
This utility may be worth a look:
http://www.nirsoft.net/utils/bulk_file_changer.html

Original address: https://www.donationcoder.com/forum/index.php?topic=40627.0