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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove read-only from a file 1

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Hallo.
Does anyone know how to remove the read-only attribute from a file?

Cheers,
Douglas JL.
If it don't make you laugh, it ain't true.
 
Right click it , click on properties and uncheck the read only box...

now if you mean in code, its something like this

SetFileAttributes("File name", FILE_ATTRIBUTE_NORMAL);
 
Ho ho ho!
Cheers, man.

Douglas.
If it don't make you laugh, it ain't true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top