Returns Serial Number of a drive.
DriveGetSerial ( "path" )
| path | Path of drive to receive information from. |
| Success: | Returns the Serial Number of the drive as a string. |
| Failure: | Sets @error to 1. |
Local $sSerial = DriveGetSerial(@HomeDrive & "\") ; Find the serial number of the home drive, generally this is the C:\ drive.
MsgBox(4096, "Serial Number: ", $sSerial)