[INFO] Adding "Cygwin here" to Windows Explorer

Tero Niemela tero_niemela@yahoo.com
Tue Sep 14 17:13:00 GMT 2004


Hi,

some of you may find this useful. I did the following,
works perfectly for me:

Last line of ~/.zlogin is:

[[ "$OSTYPE" = *cygwin* && $ARGC -eq 1 ]] && cd "$@"

And this registry settings was added to Windows
registry:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\command]
@="Cygwin Here"

[HKEY_CLASSES_ROOT\Folder\shell\command\command]
@="\"C:\\cygwin\\bin\\zsh.exe\" -l -s \"%1\""

With these, when I right-click a folder on Windows
Explorer, one available option is "Cygwin Here" that
start Cygwin+zsh and then cd to the right-clicked directory.


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list