This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Launching CMD.EXE windows from cygwin bash


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]