Determining physical hard drives with a batch file


I am writing a simple batch file for DOS that will run under Windows 2000.

I would like to be able to determine how many physical hard drives are installed in the computer and what architecture (IDE or SCSI) and then use that result to call a particular subroutine.

Here are some more details:

We have three hardware options that I would like a batch file to be able to determine:

1. Two IDE Drives
2. One IDE Drive and one SCSI Drive
3. Two IDE Drives and two SCSI Drives

The first drive will have a C partition running Windows 2000. All other drives will have no partitions active. I am using Norton Ghost to set up the computers.

Any ideas?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!