Bash shell extension ?

Fri Apr 12 03:47:00 GMT 2002

Ok, I have made the changes you suggested, but there are some problems:
The single-quotes for the cd command seem to have messed things up .. 
bash.exe: cd: F:ClassesWINTER~2ECE344: No such file or directory
[06:27:31] /f/Classes/Winter_2002 $

What is good about this method is that before I was only getting
"/f/Classes/WINTER~2/ECE344" ..This way I see the whole path, but something is
messing up .. Any suggestions how to fix?

Last, I have added the same key under Drive, but its not working at all. All
that I see happen is the Bash window pop up for a small fraction of a second,
then disappears. Something pops up on the screen, but it closes so quickly that
I don't know what .. I can troubleshoot this more if someone can tell me where
to look .. 


*********** REPLY SEPARATOR  ***********

On 4/12/2002 at 4:09 AM Sam Edge wrote:

>> [HKEY_CLASSES_ROOT\Folder\shell\Bash Prompt]
>> [HKEY_CLASSES_ROOT\Folder\shell\Bash Prompt\command]
>> @="bash.exe -c 'cd \"%1\"; exec bash'"
>> It seems you might also have to mount the drives you want to use.
>Use single quotes for the cd command so that if the Windows shell
>substitutes something ending in backslash for %1 it doesn't escape the
>Use the Directory key instead of the Folder one. (The difference being that
>Folder includes fictions of the Windows shell namespace that don't
>correspond to real directories.)
>To allow invocation of a prompt via the context menu of a drive icon apply
>the command to the Drive key as well as the Directory one.
>Finally, by including a default value for the command, you can add an
>underline shortcut to the context menu.
>(Most of this is really nothing to do with cygwin - it's all standard
>Windows stuff.)
>@="&Bash Prompt Here"
>@="c:\\cygwin\\bin\\bash.exe -c \"cd '%1' ; exec /bin/bash\""
>@="&Bash Prompt Here"
>@="c:\\cygwin\\bin\\bash.exe -c \"cd '%1' ; exec /bin/bash\""
>Sam Edge
>Unsubscribe info:
>Bug reporting:

Unsubscribe info:
Bug reporting:

More information about the Cygwin mailing list