This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Getting result of system call?


How can I obtain the output of a system call in windows?  In particular, I
would like to get the volume serial number of the C: drive, which is
returned by by system call "cmd /c vol C:".  I need more than an integer
saying whether the call succeeded;  I need the text output of the call.

Thanks for your advice.

--Andrew Mickish
  http://www.andrew.cmu.edu/~am2q/


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]