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

Setting a file attribute to false ...

Status
Not open for further replies.

BobbaFet

Programmer
Feb 25, 2001
903
NL
Hi all,

I was wondering how I can turn off the Read Only property of a file. I know how I can turn it on but how to turn it off???

Thanx a million,

Bobba_Fet Everybody has a right to my opinion.
E-mail me at cwcon@programmer.net
 
Use the following:
Notice the NOT in the statement!
Attributes := Attributes and not faReadOnly; Welcome to the Pythian Games!
Long live Godess Athena!
dArktEmplAr of Delphi Oracle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top