Sign in to follow this  
Followers 0
hot202

FileSetAttrib readonly

3 posts in this topic

hi i know about the +R but what i would like to do is make it so a file is readonly but make it so autoit can still edit the file can that be done? or doi have to run FileSetAttrib just before i want to do something and make it so its not read only?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

File attributes are not program specific, they're global. You'd need to remove the read-only flag before opening the file, modify the content as needed, and reset the attribute afterwards.

Edited by danielkza

Share this post


Link to post
Share on other sites

ok thanks so i might as well not use read only.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0