Re: Launching CMD.EXE windows from cygwin bash (answer found)

2009-06-28 Thread Linda Walsh
Taylor wrote: Hmmm. I can't post a response to my own post. Well, here's a new thread as a response to my previous thread. Looking one last time, I found the answer: to launch a cmd.exe window: cmd /c start cmd to launch a bash.exe window: cmd /c /start bash --- Didn't see your qu

RE: Launching CMD.EXE windows from cygwin bash

2009-06-26 Thread Buchbinder, Barry (NIH/NIAID) [E]
Mark J. Reed sent the following at Friday, June 26, 2009 10:14 AM >> cygstart has an option to set the working directory. > >cygstart -d /path/to/directory cmd > >should do the trick. Sorry I forgot to included in my previous email that cygstart can load Windows shortcuts. This might be useful to

Re: Launching CMD.EXE windows from cygwin bash

2009-06-26 Thread Mark J. Reed
I wrote: >>cygstart /cygdrive/c/windows/system32/cmd.exe >> >>or, if you have that in your $PATH, just >> >>cygstart `which cmd` As it turns out, just cygstart cmd works on both my installations at work (one 1.5 and one 1.7, both on Vista); on the PC at home (1.7 on XP) I had to specify the full

RE: Launching CMD.EXE windows from cygwin bash

2009-06-26 Thread Buchbinder, Barry (NIH/NIAID) [E]
Mark J. Reed sent the following at Thursday, June 25, 2009 11:15 PM >cygstart /cygdrive/c/windows/system32/cmd.exe > >or, if you have that in your $PATH, just > >cygstart `which cmd` cygstart has an option to set the working directory. $ cygstart --help [snip] Directory options -d, --director

Re: Launching CMD.EXE windows from cygwin bash

2009-06-26 Thread Dave Korn
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

Re: Launching CMD.EXE windows from cygwin bash

2009-06-25 Thread Mark J. Reed
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. This works, though: cygstart /cygdri

Re: Launching CMD.EXE windows from cygwin bash

2009-06-25 Thread Dave Korn
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 w

Launching CMD.EXE windows from cygwin bash (answer found)

2009-06-25 Thread Taylor
Hmmm. I can't post a response to my own post. Well, here's a new thread as a response to my previous thread. Looking one last time, I found the answer: to launch a cmd.exe window: cmd /c start cmd to launch a bash.exe window: cmd /c /start bash -- Problem reports: http://cygwin.com/prob

Launching CMD.EXE windows from cygwin bash

2009-06-25 Thread Taylor
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 t