roadrunner Posted March 13, 2004 Share Posted March 13, 2004 can any one help me it's simple if you know how, but how do you make a directory not read only? I have looked at FileSetAttrib but this does not do the directory itself. I'am trying to update some files in a directory (folder), but the scripe would'nt copy the files, after investgating I discovered that the directory (folder) is read only, but the files in the directory are not, if I un read them the files copy fine as ideals. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 13, 2004 Developers Share Posted March 13, 2004 (edited) you could just run the dos ATTRIB -R c:\yourdir command ... EDIT: just tested the FileSetAttr and it works fine on directories too. this case the directory is "c:\temp\test" FileSetAttrib ( "c:\temp\test.", "-R" ) Edited March 13, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
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