Re: How does one find cygdrive path in a Win .bat file (was Re: Bug in startXwin.bat)

2009-02-10 Thread Thorsten Kampe
* Linda Walsh (Mon, 09 Feb 2009 16:34:21 -0800) Larry Hall (Cygwin X) wrote: Linda Walsh wrote: The startxwin.sh script works, but startxwin.bat does not work if your Cygwin installation isn't in the default location. You could use mount -p (presuming your cygwin\bin is in your

Re: How does one find cygdrive path in a Win .bat file (was Re: Bug in startXwin.bat)

2009-02-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Thorsten Kampe on 2/10/2009 2:01 AM: For that matter, how would a windows .bat file find the 'mount.exe' binary if the .bat file doesn't know 'cygdrive path'? Mount is not a Cygwin application (meaning it doesn't have to know

How does one find cygdrive path in a Win .bat file (was Re: Bug in startXwin.bat)

2009-02-09 Thread Linda Walsh
Larry Hall (Cygwin X) wrote: Linda Walsh wrote: The startxwin.sh script works, but startxwin.bat does not work if your Cygwin installation isn't in the default location. You could use mount -p (presuming your cygwin\bin is in your windows path, as mine is). If not, need to look in the

Re: How does one find cygdrive path in a Win .bat file (was Re: Bug in startXwin.bat)

2009-02-09 Thread Larry Hall (Cygwin)
Linda Walsh wrote: Larry Hall (Cygwin X) wrote: Linda Walsh wrote: The startxwin.sh script works, but startxwin.bat does not work if your Cygwin installation isn't in the default location. You could use mount -p (presuming your cygwin\bin is in your windows path, as mine is). If not, need

Re: How does one find cygdrive path in a Win .bat file (was Re: Bug in startXwin.bat)

2009-02-09 Thread Ralph Hempel
Here's how I do it in a little batch file that I put on my USB pen drive: It's in the attached .TXT file - you'll need to rename it to .BAT Note that this batch file will OVERWRITE your fstab so please review it before installing and using it on your system. Basically, it lets me carry Cygwin