ScripterGuy Posted June 9, 2008 Share Posted June 9, 2008 Hello there...new to scripting, new to the forums...and I gave myself a name I'm hoping to work up to. Anyway, I am creating a script to copy files from a CD and these files will overwrite previous files. I would like to remove the read only attributes from these files, but I didn't see anything concerning that in the help files...if there was something, I completely overlooked it. Any help would be great.....thanks! Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 9, 2008 Share Posted June 9, 2008 FileSetAttrib("filename.ext", "-R") Link to comment Share on other sites More sharing options...
ScripterGuy Posted June 9, 2008 Author Share Posted June 9, 2008 Thank you very much! That worked.... I feel kind of dumb for overlooking something that simple. Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 9, 2008 Share Posted June 9, 2008 I dunno how you missed it. It's with all the other File____ functions. 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