www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 18 Oct 2006 17:20:00 -0400 |
From: | Jean-Claude Gervais <jc DOT gervais AT videotron DOT ca> |
Subject: | BashHere.reg Explorer add-on and long filenames |
To: | cygwin AT cygwin DOT com |
Message-id: | <1161206400.10364.24.camel@mercury.sprymusic> |
MIME-version: | 1.0 |
X-Mailer: | Evolution 2.6.2 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |