Problem with Cygwin..

Posted by Zeno on Sun 29 Sep 2002 01:13 AM — 6 posts, 14,407 views.

USA #0
When I try to open cygwin.bat, it opens, that quickly closes. Why? I download *everything*
Australia Forum Administrator #1
Try opening a "command" window, navigate to the directory that Cygwin is in (eg. C:\CYGWIN), and then typing CYGWIN.BAT - at least then you'll see what the error message is.
USA #2
'bash' is not recognized as an int
operable program or batch file.
Australia Forum Administrator #3
Strangely enough, the same thing happened to me, which made me laugh! (because Cygwin used to work).

For some reason my PC doesn't recognise .exe files by default any more (virus maybe?) so when I typed bash it didn't work.

Try this:

  1. Go to your cygwin directory (eg. cd c:\cygwin)
  2. Go to the bin subdirectory (eg. cd bin)
  3. Type: dir bash*

    You should see something like:

    20/02/02 05:14 478,720 bash.exe

    If not, you didn't install bash, that is the problem.
  4. If so, try typing: bash.exe
Amended on Sun 29 Sep 2002 02:36 AM by Nick Gammon
USA #4
Odd, I selected install all... How would I get bash? I had it before... (I don't wanna download everything again)
Australia Forum Administrator #5
You shouldn't have to reinstall it all. The setup program on their web site detects what you have and adds stuff you don't, if you want it.

Try scrolling down and checking you have everything. "bash" is one of their shells.