Launching CMD.EXE windows from cygwin bash

Taylor taylor.w.kidd@intel.com
Fri Jun 26 02:01:00 GMT 2009


Problem: I want to be able to launch a CMD.EXE window starting in a particular
directory from my cygwin bash window.

Details: I do a lot of work that has me switching between cygwin bash windows,
CMD.EXE windows, and a variety of MSWindows apps. For example, I often launch a
explorer window from the directory I'm working in: "explorer . &", or look at
some data with excel: "excel mydata.csv &". I use my bash shell as my main point
of control. I don't expect that I need to explain why given the audience. 

I also often need to do some work in a CMD window. At present, I need to open a
CMD window, cd to where ever I need to do the work, and then launch the app.
What I want to do is to issue a command like: "CMDWNDW.EXE . &" or some such and
have a CMD window pop up on my desktop in a directory of my choosing.

Ideas? Suggestions? Solutions?

If this question has been answered like a couple of thousand times, just give me
a link to the solution.

PS I'd also like to do the same with a bash shell, meaning that I'd like to
launch another bash window from my current window, e.g. something like,
"bashwndw.exe . &"



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list