Getting result of system call?
Andrew Mickish
mickish@cmu.edu
Wed Oct 21 14:58:00 GMT 1998
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".
More information about the Cygwin
mailing list