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

Setting File Permissions

Status
Not open for further replies.

EzehM

Programmer
Feb 27, 2003
86
GB
Help Please

I have a file that has read-only permissions. How can I change these permissions (via code) to read-write (on a windows platform). I am targeting a 1.1 Runtime.

Thanks
 
Sorry...not to worry

File.SetAttributes(file, FileAttributes.Normal);

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top