This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Path statements and problems locating files
- To: "'cygwin-xfree at xfree86 dot cygwin dot com'" <cygwin-xfree at xfree dot cygwin dot com>
- Subject: Re: Path statements and problems locating files
- From: Benjamin Riefenstahl <Benjamin dot Riefenstahl at epost dot de>
- Date: 29 Oct 2001 16:02:30 +0100
- References: <B11540D0CB5BD111AA7200805F0D112401CD8B0B@glgw0220.shell.com.au>
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