hot202 Posted February 16, 2010 Posted February 16, 2010 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?
danielkza Posted February 16, 2010 Posted February 16, 2010 (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 February 16, 2010 by danielkza
hot202 Posted February 16, 2010 Author Posted February 16, 2010 ok thanks so i might as well not use read only.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now