X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 	tests=BAYES_00,J_CHICKENPOX_63,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Taylor <taylor.w.kidd@intel.com>
Subject:  Launching CMD.EXE windows from cygwin bash
Date: Fri, 26 Jun 2009 01:16:28 +0000 (UTC)
Lines: 23
Message-ID:  <loom.20090626T005311-580@post.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

