Reply To: Batch file from A: to format C: ?
by
thechas
·
about 18 years, 9 months ago
In reply to Batch file from A: to format C: ?
Yes, you can edit the autoexec.bat file to include the line:
format c:
at the end of the batch file.
WARNING: having a boot disk automatically do this creates a ticking time bomb.
The first time you install this disk in a PC that you do not want to format, you will regret creating this disk.
Now, which OS do you plan to install onto the hard drive?
And, was the drive formatted as a NTFS volume for W2K?
If you plan to install W2K again, I recommend that you run the tool on the W2K CD and create a boot floppy.
For the most complete cleaning of your hard drive, run fdisk, and delete at least the primary DOS, or non-DOS partition.
Exit fdisk, and re-boot, then run fdisk again, and set up your partitions as desired.
If you are installing W2K, you do not need to format the hard drive before installing.
The installer will ask you how you want to set up your drive.
If you are installing W98, then yes, you need to format the drive before installing Windows.
Start by booting up from the W98 startup disk.
Run fdisk as above.
Then format the C: drive.
With the W98 CD in the drive, run setup from the DOS prompt.
Chas