Sign in to follow this  
Followers 0
Stalker0

Turning off Read Only status on a file

2 posts in this topic

Hey guys, I'm creating a script that will go through a batch of files and turn off all of the read only conditions found in the files.

Now, I can code it to work through the GUI, but that's slower and clunkier than I would like. Is there a window's command line that will do this for me, so I just need to code in a series of windows commands?

Share this post


Link to post
Share on other sites

#2 ·  Posted (edited)

Hey guys, I'm creating a script that will go through a batch of files and turn off all of the read only conditions found in the files.

Now, I can code it to work through the GUI, but that's slower and clunkier than I would like. Is there a window's command line that will do this for me, so I just need to code in a series of windows commands?

Go to a command prompt and type
attrib /?
Should tell you everything you need to know.

Or of course you could take the easy route and use the FileSetAttrib() function in AutoIt.

Edit: Added FileSetAttrib, too quick off the mark with my ol' DOS brain...

Edited by ResNullius

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