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]

[INFO] Adding "Cygwin here" to Windows Explorer


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/


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