X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A443035.3000904@gmail.com> Date: Fri, 26 Jun 2009 03:19:33 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Launching CMD.EXE windows from cygwin bash References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 Taylor wrote: > Problem: I want to be able to launch a CMD.EXE window starting in a particular > directory from my cygwin bash window. Just type "start" and press return. > 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 . &" Just type "cygstart /bin/bash" and press return. There is no facility in either case to select a cwd for the process to start in, they will start in your bash shell's cwd. You can always write yourself a little shell function, e.g. function CMDWNDW { ( cd $1 && start ) } cheers, DaveK -- 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