Utility that determines total hard drive size?
Does anyone know of a utility that will produce a value corresponding to the total size of a system's hard drive. At this point, I don't care about cases where multiple drives are present, or what the sizes of the PARTITIONS are.
fdisk /STATUS will diplay this info, but I was unable to pipe the result into a text file or variable.
I'm trying to get this to work because I'm working on bootable, re-imaging CDs (with Sysprep'd Ghost images) that junior admins will use to re-image machines. I want the admins, when they boot up with the CD and the batch file is running, to be able to 1) see the total size of the hard drive flashed on the screen and 2) use this to help them choose an appropriate size for the C: drive (D: will get the remainder) when prompted. We have different platforms here, with some older machines (notebooks) with 8GB drives and some newer machines with 80GB and up.
I've looked at tons of utilities, done a bunch of Google searches, but have not found anything that would work. Any help is appreciated.
fdisk /STATUS will diplay this info, but I was unable to pipe the result into a text file or variable.
I'm trying to get this to work because I'm working on bootable, re-imaging CDs (with Sysprep'd Ghost images) that junior admins will use to re-image machines. I want the admins, when they boot up with the CD and the batch file is running, to be able to 1) see the total size of the hard drive flashed on the screen and 2) use this to help them choose an appropriate size for the C: drive (D: will get the remainder) when prompted. We have different platforms here, with some older machines (notebooks) with 8GB drives and some newer machines with 80GB and up.
I've looked at tons of utilities, done a bunch of Google searches, but have not found anything that would work. Any help is appreciated.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
Soulin
20 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.