X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com From: Taylor Subject: Launching CMD.EXE windows from cygwin bash Date: Fri, 26 Jun 2009 01:16:28 +0000 (UTC) Lines: 23 Message-ID: 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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