Hi Simon,

"Simon, Dean SAL-TI/6" <[EMAIL PROTECTED]> writes:
> @echo off
> 
> D:
> chdir \cygwin\bin
> PATH=/cygwin/bin:/usr/X11R6/bin:/usr/local/bin

In a COMMAND.COM batch file you must use COMMAND.COM commands and
conventions.  Cygwin will later automatically translate to its
representation for Cygwin programs.  That conversion from DOS
conventions to Cygwin conventions is not prepared to handle a PATH
variable that already is in Cygwin format.

So this line should be

PATH d:\cygwin\bin;d:\cygwin\usr\X11R6\bin;d:\cygwin\usr\local\bin

IOW, "PATH" is a command (you can also use "SET PATH=..."), the
separator is ";" and you need to use the Windows paths, not the Cygwin
mounts.


so long, benny

Reply via email to