Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Subject: Make and shell calls To: cygwin AT cygwin DOT com Message-ID: From: "Wendy Vanhonacker" Date: Fri, 30 Aug 2002 14:34:03 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Hi, I'm using cygwin on NT to run some makefiles, and I have a problem with a shell command line. I'm calling the makefile from the DOS. Here what I get: with: d:/sbroot/bin : mkdir d:/sbroot/bin I get the error: mkdir d:/sbroot/bin 175510 [main] make 786 proc_subproc: Couldn't duplicate my handle<0x10C> for pid 2283400, Win32 error 6 Invalid switch - /bin I don't know what shell it is using, but when I try directly on DOS with sh I have the same thing , but when I do it on the cygwin window it works! I don't know if I should need '/' or '\'. I guess it's a porblem of transfer between cygwin and MSDOS. (I did all the environment variables changes..). If I do it with backward slash I get the error: d:\sbroot\bin : mkdir d:\sbroot\bin Error: mkdir d:\sbroot\bin Extended Error 183 3039 [main] make 949 proc_subproc: Couldn't duplicate my handle<0x10C> for pid 0, Win32 error 6 make[1]: mkdir: Command not found make[1]: *** [d:\sbroot\bin] Error 127 Where is the problem. What do you do with '\' and '/'? Should I put forward slash everywhere since it's a UNIX window? The invalid switch error usually comes when you use MSDOS syntax instead or unix or reverse... PLease help! -- 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/