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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: From: "Berche, Guillaume" To: "'earnie_boyd AT yahoo DOT com'" , "'cygwin AT sourceware DOT cygnus DOT com'" Subject: RE: Cygwin 1.0: Error when launching MSDOS bat file from bash on Windows 2000 Date: Fri, 21 Apr 2000 14:59:18 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Earnie, > > > > Well, the mechanism is working fine with NT 4.0 but on > Windows 2000 it fails > > (or it might be related to some other configuration params > I missed ?!) If > > anybody have an idea of how to correct this I am very interested! > > > > Actually, it fails on NT4 as well. > Well my description was incorrect actually (the steps I gave are broken because of a copy/paste error); the following steps work on NT4 as shown below ( I had forgotten the . at the beginning of the commands i.e test1/test2/run.bat does not work whereas ./test1/test2/run.bat would) > cd / > mkdir -p test1/test2 > cat > test1/test2/run.bat REM start of MSDOS test PAUSE REM end of MSDOS test ^C > > ./test1/test2/run.bat C:\>REM start of MSDOS test C:\>PAUSE Press any key to continue . . . C:\>REM end of MSDOS test > cd test1 > ./test2/run.bat C:\test1>REM start of MSDOS test C:\test1>PAUSE Press any key to continue . . . C:\test1>REM end of MSDOS test > > cd test2 > ./run.bat > > Yep. I just tried your test and your assumption would have > to be correct. I > agree with your bug report. Would you care to submit a patch? > I wish I could. However, I am afraid I'm missing skills to be able to find out the source of the problem and a solution to it. Anibody around that has a good grasp on the code and could spot out the problem? Guillaume. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com