delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/27/11:12:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: Problem with system()
X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000
From: Glenn DOT Davis AT predictive DOT com
Message-ID: <OFD889521B.68482665-ON85256929.00534236@predictive.com>
Date: Thu, 27 Jul 2000 11:10:59 -0400
X-MIMETrack: Serialize by Router on Apollo/Predictive(Release 5.0.4 |June 8, 2000) at 07/27/2000
11:11:05 AM,
Serialize complete at 07/27/2000 11:11:05 AM
MIME-Version: 1.0

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 AT cygnus DOT com>
Sent by: corinna AT nikoma DOT de
07/27/00 10:50 AM
Please respond to cygwin

 
        To:     cygwin AT sources DOT redhat DOT com
        cc:     Glenn DOT Davis AT predictive DOT com
        Subject:        Re: Problem with system()


Chris Faylor wrote:
>
> On Thu, Jul 27, 2000 at 09:42:19AM -0400, Glenn DOT Davis AT predictive DOT 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 AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT cygnus DOT com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019