Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting up a PC for easy reformatting?

Status
Not open for further replies.

JebusRocks

Programmer
Sep 14, 2004
30
CA
So here is my situation, I currently have a PC running XP pro with 1 60g hardrive. I want to be able to store all of my mp3's(about15 gigs worth) either on a partition on this HD or buy a second one and install the files on it. The point of this is to be able to seperate all of the mp3 files from the OS so that I can reformat with out having to reload the mp3's. I like to reformat often but my current setup, 1 partition, 1 physical drive, means that I have to reload the mp3 files each time I format.
Another point here, I have several software tools installed ie VB Photoshop etc can I dedicate a partition to these programs so that they do not get wiped out each time I reformat.
Also I want to be able to isolate the mp3's/program files so that they can be 'protected' from virus activity. On this point is it possible to setup a partition to read-only to help minimize the potential of virus infection if so isthere any value to doing this?

So.. any thoughts on this?

Thanks in advance for any replies
 
JebusRocks,

You certainly could use multiple partitions to separate your OS files from other files. If you store your applications (ie VB Photoshop etc) on a partition separate from your OS, keep in mind that some applications require registry entries in Windows, and you may need to reinstall the applications when you reinstall the OS.

As far as making partitions read-only, this can be done through the file system that the partition is formatted with. Using NTFS, you could make a partition read only, although a user that is a member of the Administrators group will still have full control, so you'll need to be logged in as a regular user in order to retain the read-only restriction.

Wishdiak
 
After creating the partition, use the Attrib command to prevent changes to the MP3s:

attrib +r *.mp3
 
thanks for the replies;

bcastner are you saying that I should run this command from the command line and if so how do I issue this command for any mp3 files on 1 partition and not the other?

 
Attrib is a command line tool to set file attributes, of which one is to make a file read-only.

Lets assume your partition to the drive (creating a Drive D) and your mp3 files are stored in d:\Music

Start, Run, CMD

d:
cd \Music
attrib +r *.mp3

Or for the entire partition, use the Resource Kit utility FORFILES.EXE:

Download:
Syntax (Version 1.1):

forfiles -pD:\ -m*.mp3 -s -c"CMD /C attrib +r @RELPATH\@FILE"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top