delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/25/21:20:28

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 <taylor DOT w DOT kidd AT intel DOT 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
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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019