delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/20/08:42:17

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <F1932D194B56D111965A00805F85190F01D38888@caucase.grenoble.xrce.xerox.com>
From: "Berche, Guillaume" <Guillaume DOT Berche AT mkms DOT xerox DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Cygwin 1.0: Error when launching MSDOS bat file from bash on Wind
ows 2000
Date: Thu, 20 Apr 2000 15:41:32 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Hi,

I recently received a machine with Windows 2000 installed on. I installed my copy of the Cygwin CD 1.0 I purchased but I run into the following problem: I can not run an MSDOS bat file from bash when a relative path is specified.

Examples:

> cd /
> mkdir -p test1/test2
> cat > test1/test2/run.bat
REM start of MSDOS test
PAUSE
REM end of  MSDOS test
^C
> 
> cat test1/test2/run.bat
'test2' is not recognized as an internal or external command,
operable program or batch file.
> cd test1
> test2/run.bat
> 
> cd test2
> ./run.bat
'.' is not recognized as an internal or external command,
operable program or batch file.



> #However when I specify a complete path it works:
> /test1/test2/run.bat

C:\test1\test2>REM start of MSDOS test

C:\test1\test2>PAUSE
Press any key to continue . . .

C:\test1\test2>REM end of  MSDOS test


Any idea of the problem. The same problem appears also with beta 20.1. Do you know if this would have been fixed in 20.2?

Thanks for your help,

Guillaume.

--
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