Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Turn off the "Read-only" attribute of a file...

Status
Not open for further replies.

prover

Programmer
Joined
Sep 12, 2001
Messages
54
Location
US
I've been working on a project that writes data to files in a particular folder. I recently added new files from a CD and of course I forgot to turn off the "read-only" attribute. The folder contains hundreds of files.

Is there a way to turn off/on the read-only attruibute of a particular file? (I'd like to be able to use this feature in other ideas I have...)

TIA

Rich O
 
right clicking on the file and unchecking read-only doesn't work?
 
right clicking works but the files are mixed in with hundreds of other files.

My solution this time overwrite the files with the "read-only" attribute turned off.

I was hoping there was a way to do this via code!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top