Hard drive partitioning

Sure thing:



%echo off
echo "Insert diskette in Drive A: and press <enter>"
pause
sys a:
copy c:\AUTOEXEC.BAT a:
copy c:\CONFIG.SYS a:
copy c:\windows\command\FDISK.EXE a:
copy c:\windows\command\FORMAT.COM a:
copy c:\windows\command\EDIT.COM a:
copy c:\windows\command\EDIT.HLP a:
copy c:\windows\command\MTMCDAI.SYS a:
copy c:\windows\command\MTMCDAI.386 a:
copy c:\windows\command\MSCDEX.EXE a:
copy c:\windows\command\SYS.COM a:
copy c:\windows\command\XCOPY.EXE a:
copy c:\windows\command\XCOPY32.EXE a:
copy c:\windows\command\XCOPY32.MOD a:


Copy and paste this into a text file and save it as SYSDISK.BAT. If these files reside in a different folder on your drive, you’ll need to modify the batch file appropriately. If you are missing a file, simply delete the line that calls for it, or try to locate the file online with Google.

Bootdisk.com is an excellent site for finding/making boot disks for various O/Ss. It also has quite a few utilities, and self-help guides.

Caveat! - In reading your OP, the various responses from others, followed by your additional posts, you would do well to proceed slowly and do your homework before you attempt anything in your OP. The failure to have all the necessary original software, additional tools and utilities, a correct boot disk, and a thorough understanding of what you are about to do, may cause you to permanently lose data, as well as the ability to rebuild your computer’s operating system and applications.

In short, expand upon the old carpenter’s rule - measure twice and cut once.

IMO, you would be a lot better off to use Partition Magic. It’s a truly painless experience, unlike reinstalling your OS and all your apps. Don’t forget that even if your WP docs and other obvious data are on the D: drive, your e-mail and other important data may be on the C: drive. Have you customized Word with styles, macros, a custom dictionary? That’s all in normal.dot, probably on the C: drive. Your IE favorites list? C:\Documents and Settings. You could lose a lot more data than you expect.

Reformatting your primary partition and reinstalling your OS and apps is a major undertaking. You’ll have to track down and reinstall device drivers, update your apps. etc. etc. etc. It could take a couple of 8-hour days, or more, if you have a lot of apps.

On the other hand, backing up your data from D:, installing Partition Magic, repartitioning, and restoring your data to the resized C: drive can easily be done in a couple of hours.

The advice these guys have been giving you is technically fine, but it may not be your best option if you just want to combine the partitions and get back to work.

A good free utility for partition changes is Presizer (“Partition Resizer”.) I have used it many times over the years and it seems stable. (I have seen real problems using the MS-Windows version of the Linux-origin fips utility.)

The simple method is this:

  1. Copy everything you want from D: to C:
  2. Use Presizer (or even fdisk) to remove the D: partition.
  3. Use Presizer to expand the C: partition to fill the whole disk.

(By the way: there is an important step 0: back up everything. But you already know that and so I’m wasting my time mentioning this. Right? I said, right? Good.)

If there isn’t enough room for all the stuff on D: you want to copy, then you have to cycle. Copy some to C: until it gets fullish, shrink D:, grow C:, lather rinse repeat until D: is all empty. At this point you start thinking: “Hey, copying all this stuff to CD-Rs starts looking easier.” Good.

Partition Magic has an option to make all of D: a subdirectory on C: while combining partitions. That makes things a bit simpler but for a few $.

A big note: If an application lives on D:, then there are links all over the place to it and it’s files for D:. Once copied to C: those links are now invalid. Partition Magic can help fix those up but it is very much not perfect in this regard. (I actually find it easier to to do by hand: editing the registry. You may now groan.)

I go around changing partition stuff all the time. Fun stuff. Novices might not enjoy the process in the least.

Now let me tell you about the time I bin-edited a partition table that fips had messed up…