Still, the issue is that $hdGB =Left($hd,Len($hd)-9) will give you incorrect values!
1024 Byte = 1 KiloByte
1024 KiloBytes = 1 MegaByte
1024 MegaBytes = 1 Gigabyte

What you do is 1000 bytes = 1 KiloByte !

Granted, HD manufacturers use this to artificially boots the capacity of the drive, but those nobers are just plain incorrect!
_________________________
There are two types of vessels, submarines and targets.