B20 : problem using system("cmd");

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Mon Sep 18 05:38:00 GMT 2000


At 02:20 PM 9/17/2000, Denys Gariepy wrote:

>     Bonjour,
>
>     I try to execute the folowing program compiled with B20 and he do not
>
>     work correctly.
>
>     I also add the output of the 'cygcheck'
>
>
>
>     Denys Gariépy.
>     garden@capitale.qc.ca



Your program assumes that "dir" is an executable.  Its not.  Its a command
in the DOS command prompt program.  If you want this to work, you need to 
run the DOS prompt as part of your invocation (i.e. system("cmd.exe /c dir"))




Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list