Function VolSerial() Foundation

Retrieves the serial number of a disk(ette).

Syntax
VolSerial( [<cDrive>] ;  // Default: CurDrive()
         ) --> nVolumeSerial
Return

Returns the serial number of a disk as a numeric value in decimal format or -1 if an error occured.

Note: The serial number as shown by the command shell DIR command is in hexadecimal format.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.