This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Windows batch program to open shell at directory
- From: Reckoner <reckoner at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 28 Aug 2010 07:14:34 -0700
- Subject: Re: Windows batch program to open shell at directory
Thanks for all your great suggestions. Here is what I settled on for
the batch file:
c:\cygwin\bin\zsh --login -c "cd '%1' ;exec zsh"
The only thing I have to work out is how to handle cases where the %1
argument contains spaces.
Thanks again!
--
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