This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Path statements and problems locating files


Hi Simon,


"Simon, Dean SAL-TI/6" <Dean.J.Simon@shell.com.au> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]