This is the mail archive of the
cygwin
mailing list for the Cygwin project.
BashHere.reg Explorer add-on and long filenames
- From: Jean-Claude Gervais <jc dot gervais at videotron dot ca>
- To: cygwin at cygwin dot com
- Date: Wed, 18 Oct 2006 17:20:00 -0400
- Subject: BashHere.reg Explorer add-on and long filenames
Hello List!
I found and adapted a Windows registry hack to permit opening Bash
prompts in any folder in Explorer by right-clicking on the folder and
selecting the "Open with Cygwin Shell (bash)" menu entry.
It works fine, but for some strange reason, whenever a folder is
selected that has a long-name (ie. not 8.3 DOS standard), the bash
prompt displays the short filename version of the path.
Is there a way to get it to display the long version?
Here is the .REG file in case anyone else would like to give this a try.
TIA, J
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Custom_OpenWithCygwinShell]
@="Open with Cygwin Shell (bash)"
[HKEY_CLASSES_ROOT\Directory\shell\Custom_OpenWithCygwinShell\command]
@="c:/cygwin/bin/bash --login -c \"cd '%1'; exec bash --noprofile --norc
-i\""
[HKEY_CLASSES_ROOT\Drive\shell\Custom_OpenWithCygwinShell]
@="Open with Cygwin Shell (bash)"
[HKEY_CLASSES_ROOT\Drive\shell\Custom_OpenWithCygwinShell\command]
@="c:/cygwin/bin/bash --login -c \"cd '%1'; exec bash --noprofile --norc
-i\""
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
--
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/