Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
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[^]
At an MS-DOS prompt, enter:attrib -r *.*