This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Problem with system()
- To: cygwin <cygwin at sources dot redhat dot com>
- Subject: Re: Problem with system()
- From: Glenn dot Davis at predictive dot com
- Date: Thu, 27 Jul 2000 11:10:59 -0400
I tried that as well. I still get the same message and I am sure that I
have my path set correctly.
thanks,
glenn davis.
Corinna Vinschen <vinschen@cygnus.com>
Sent by: corinna@nikoma.de
07/27/00 10:50 AM
Please respond to cygwin
To: cygwin@sources.redhat.com
cc: Glenn.Davis@predictive.com
Subject: Re: Problem with system()
Chris Faylor wrote:
>
> On Thu, Jul 27, 2000 at 09:42:19AM -0400, Glenn.Davis@predictive.com
wrote:
> >Chris,
> >I guesss I should have given more info.
> >I tried
> > system ("command /c dir")
> >and yes, I am using Windows 95.
>
> I don't know what's wrong but I would check basic things like your PATH.
> If you don't have a command.com in your path then system is obviously
> not going to be able to run "command".
You have to use "command.com /c dir" because the standard search
algorithm only finds apps which don't have an extension or which have
the ".exe" extension. ".com" isn't supported.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com