Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: cygwin 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: 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 Content-Type: text/plain; charset="us-ascii" 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 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