Windows batch program to open shell at directory

Reckoner reckoner@gmail.com
Sat Aug 28 14:31:00 GMT 2010


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



More information about the Cygwin mailing list