This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


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

Re: [Fwd: Cygnus And Windows 2000 ?]]


At 11:02 AM 8/23/00 -0400, you wrote:
 >I tried to install cygwin with windows 2000. The installation procedure
 >has no problem but the application is not working properly:
 >When I click on the Cygwin icon , the only thing I get is a really brief
 >black window where I don't have the time to read the content.

This started happening to me on a Win98 system where CygWin had
been working perfectly before!! I found the problem by editing
the cygwin.bat to remove "@echo off" from the beginning and then
manually running it from a plain MSDOS command window to see what
broke.

The problem was that installing a windows program had put the line
   SET PATH=%PATH%;"C:PROGRAM FILES\SOMEPROGRAM"
into the autoexec.bat file.
Well, now the PATH variable has a blank in it and when cygwin.bat
tries to modify its value the SET command fails. The fix is to
put double-quotes around the entire string that on the right-hand
side of the equals where cygwin.bat modifies PATH, as in:
   SET PATH="c:\cygwin\bin;c:\cygwin\usr\local\bin;%PATH%"

Hope this helps.

Gregory Walker         gwalker@jump.net




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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