Sign in to follow this  
Followers 0
ScripterGuy

Remove read only attribute

4 posts in this topic

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!

Share this post


Link to post
Share on other sites



FileSetAttrib("filename.ext", "-R")

Share this post


Link to post
Share on other sites

Thank you very much! That worked....

I feel kind of dumb for overlooking something that simple.

Share this post


Link to post
Share on other sites

I dunno how you missed it. It's with all the other File____ functions.

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