This is the mail archive of the
mailing list for the Cygwin project.
Problem executing batch files from the Windows command prompt
- From: "Olivier Langlois" <olanglois at quazal dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 9 May 2006 15:39:48 -0400
- Subject: Problem executing batch files from the Windows command prompt
Since I installed cygwin on a PC and I try to execute a bat file from the Windows command prompt (system32\cmd.exe), it does not work as expected.
mkmf.bat is located in C:\tools\bin
environment variable path=C:\tools\bin
From a different directory, if I type:
It works fine.
Now if I change the path variable to path=C:\tools\bin;C:\cygwin\bin
and I type
I have an error message saying:
Cannot find executable in PATH
and if I type
I get the following error message:
Cannot execute /cygdrive/c/tools/bin/mkmf.bat
Can someone explain me what is happening? It is like if when the cygwin bin directory is added to the PATH variable, cygwin would have some kind of hooks on the Windows command prompt. I do not understand what is happening...
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html