Question on changing file attributes

0 Members and 1 Guest are viewing this topic. Read 1074 times.

Thump553

  • Full Member
  • Posts: 511
Question on changing file attributes
« on: 9 Sep 2006, 12:00 am »
I've been ripping my CDs to FLAC on my work computer (self employed, so hold the razzing), then burning the FLACs to DVDs.  I'll bring the DVDs home and copy the FLACs to my home computer.  Since they are coming from a DVD the files now have the read-only and archive attributes on.  Is there a simple way to change all the files at once after I have copied them to the home hard drive, or must I do it directory by directory.  Win2k system at home, WinXP at work.

mgalusha

Re: Question on changing file attributes
« Reply #1 on: 9 Sep 2006, 02:09 am »
Open a command prompt and move to the drive and top level directory of your music storage and enter the following:

Code: [Select]
attrib -r *.* /S
Assuming your music is on g:\music you would enter the following commands. (hit enter after each command)

Code: [Select]
C:\>g:

G:\>cd music

G:\music>attrib -r *.* /s

That will remove the read only attribute on all files starting in g:\music and every sub directory under it.

This will work on both win2k and winxp.

Mike