65.9K
CodeProject is changing. Read more.
Home

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

starIconstarIconstarIconstarIconstarIcon

5.00/5 (2 votes)

Oct 20, 2011

CPOL
viewsIcon

7172

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: