6
1
I know that in explorer you can go to the address bar and type in cmd
to open a command prompt for the directory you're currently in. What I'm looking for is a way to do the same thing with cygwin. Inside cygwin I can cd C:
to break out of the installation folder and into any drive but I'm looking for a quick way to open cygwin in explorer to the path I'm already at.
I've added C:\cygwin to the Path and can run Cygwin.bat from anywhere (even the address bar of explorer) but it opens up to my cygwin home directory. How can I change that bat to allow what I'm wanting it to do?
After removing
C:
andchdir %cd%
this did exactly what I wanted. With those lines, I was getting a bash shell at the C root. I had looked at the -c command but I didn't think about adding&& bash
to get cygwin to stay open. – Corey Ogburn – 2013-02-04T23:00:16.347