delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/26/07:25:49

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: <4A44B319.40909@gmail.com>
Date: Fri, 26 Jun 2009 12:38:01 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
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: <loom DOT 20090626T005311-580 AT post DOT gmane DOT org> <4A443035 DOT 3000904 AT gmail DOT com> <f60fe000906252014m484205c5t78a03976982f5728 AT mail DOT gmail DOT com>
In-Reply-To: <f60fe000906252014m484205c5t78a03976982f5728@mail.gmail.com>
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

Mark J. Reed wrote:
> On Thu, Jun 25, 2009 at 10:19 PM, Dave Korn:
>>> 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.
> I get "bash: start: command not found." in 1.7.

  Doh, I'm a complete idiot.  "start" is a cmd.exe builtin, of course it won't
work from bash.  I've had this definition in my bashrc for so long I forgot
about it!

$ alias start
alias start='cmd /c 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

- Raw text -


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