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 From: Mark Gordon To: Jorge Goncalvez , cygwin AT sources DOT redhat DOT com Subject: Re: system not working as expected Date: Thu, 04 Oct 2001 14:49:41 +0100 Organization: Only Occasionally Reply-To: cygwin AT sources DOT redhat DOT com Message-ID: References: <200110041339 DOT PAA10383 AT cabs40 DOT col DOT bsf DOT alcatel DOT fr> In-Reply-To: <200110041339.PAA10383@cabs40.col.bsf.alcatel.fr> X-Mailer: Forte Agent 1.8/32.553 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Thu, 4 Oct 2001 15:38:57 +0200 (MEST), Jorge Goncalvez wrote: >I have made an application in C code it runs great if I launched it from Cygwin >Bash shell but if I launched it from Dos shell the call of system fails. >Why?My cygcheck is > 678k 2001/05/21 C:\WINDOWS\SYSTEM\cygwin1.dll Well, to start with you are not meant to put cygwin1.dll in your system directory. It should only be in C:\cygwin\bin\ where the setup program puts it. If you want to call cygwin applications from Dos shells or windows programs then add C:\cygwin\bin\ to your normal Dos path. -- Mark Gordon - To email me replace spamtrap with mark.gordon If at first you dont suceed, cheat. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/