How do I change drive letter of a partition?

alpineranger

Senior member
Feb 3, 2001
701
0
76
Here's my situation. In the beginning, I had two drives (one partition per). Before I did a clean install of windows (98se) on my main drive, I put all my documents and various things I wanted to keep on the second drive. Then, I partitioned my primary drive, and somehow ended up with this: c:(primary drive, primary partition) D:(secondary drive) E:(primary drive, secondary partition). This was not much of a problem then, but I want to remove my second hd (it is too small and too noisy). Unfortunately, when I removed my secondary drive, none of my programs would run because they were referencing files on E drive, which no longer existed (c:(primary partition), d:(secondary partition), no second drive). I don't want to reinstall my programs again (because of the work required, it's tantamount to doing another clean install), and I can't think of any way of fixing all the links, so is there some way to force my second partition on E: and keep D: empty?
 

emjem

Golden Member
Apr 7, 2000
1,516
0
0
The bios assigns the drive letters and there isn't anything you can do about it that I know of. I'm not sure if this works but maybe if you put your CD Rom on the primary as the slave the bios will assign it as D.
 

emjem

Golden Member
Apr 7, 2000
1,516
0
0
Huh, what dos command did that? I remember one that you could use to change the floppy drive letters, but don't remember hdd letter changes.
 

BadThad

Lifer
Feb 22, 2000
12,100
49
91
emejm is correct. However, WinNT and Win2k will let you change drive letters from within the OS :D, but not the 9x core OSes. This is an interesting predicament, having been it myself. The path to which various programs point to the location of the install CD/other info can be stored in many places. Some keep it in the registry, some in *.ini files (bla), some in DAT files, etc. I would like to see anyones ideas on this.

All I could think to do is a manual fix as each problem crops up. Open a program and see if it chokes, then go hunting for the file/registry entry that contains the bad path and change it. Tedious. :(
 

destroyerOfComputers

Junior Member
Feb 3, 2001
9
0
0
of course it has been a long time for me, but I remember you could specify things in config.sys to set HD to whatever letters. You could specify first drive, last drive, and any particular letter. I am not sure what would happen if you did this in your config.sys with 95 but I believe it carried over into win3.1.