Click here to Skip to main content
Click here to Skip to main content
Alternative Tip/Trick

Tagged as

Reset File Attributes - Set or Reset Read Only file attribute.

, 20 Oct 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
How about this one line command for MS-DOS?for /f %a IN ('dir /b *.txt') do attrib %a -RSee: attrib command[^]andhow to write a dos batch file to loop through files[^]
How about this one line command for MS-DOS?
 
for /f %a IN ('dir /b *.txt') do attrib %a -R
 
See:

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Reiss
Program Manager
United Kingdom United Kingdom
No Biography provided

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150327.1 | Last Updated 20 Oct 2011
Article Copyright 2011 by Reiss
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid