Discussion Locked

Mass File Type Associtation Changing

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a client who has about 600 MB of word and excel documents that somehow got changed to all read only after a backup restore. I was wondering if there was a utility available to change all the file types of all the files in a specific folder all at once. Thanks.

James Goerke
TheGeex Technologies
http://www.thegeex.com
Get your FREE IT CD V1.1 Today!

7 replies

by beermonster

Hi,
There's a util built in to the operating system for this, known as attrib - you can get help on it by typing attrib /? at the command line. To change all the files in a folder, from the command line go to the folder, and run

attrib -R *.*

Simple as that !!

by blackcurrant

Hi James

When files are backed up to CD they are automatically given read-only status. Therefore, when they are restored they will have the read-only attribute enabled. To turn off the read-only attribute, select all the restored files by pressing CTRL+A and either right click the selection and select Properties or click the Properties icon on the toolbar. The resulting dialog box will contain an Attributes section. Here you can enable or disable all attributes.

The only drawback with this is that you can only change the attributes of files within one folder at a time.

Good luck

This discussion is closed to new replies.