>How can I get the serial number informed by the DOS command VOL?
Try:
RUN VOL > sNum.TXT
m_file = FILETOSTR("sNum.TXT")
and extract Serial Number (In WinXP SP2 Ser.# is in "Volume Serial Number is A4D5-3E29" string) I am not sure if any Windows returns Ser.# in same string.
BTW way You not use WIN32API or Scripting Host function for this?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.