Fast bash acccess

Marco Torchiano torchiano@polito.it
Tue Mar 9 10:23:00 GMT 1999


Often I find useful to open a bash window in a given folder.
The fastest method is to locate the folder in the Explorer
and right-click on it and select an item from the pop-up menu.

Here is a simple .reg file that creates a couple of entries
in the registry: the result is a new item named "Bash" in the
right-click menu that opens a bash window in the selected folder.

----------------------------------------------------------
REGEDIT4

[HKEY_CLASSES_ROOT\Folder\shell\Bash]
@="Bash"

[HKEY_CLASSES_ROOT\Folder\shell\Bash\command]
@="E:\cygnus\cygwin-b20\cygnus.bat"
; modify previous line to use your installed cygwin path
----------------------------------------------------------

Copy the text between the lines into a file (bash.reg) with .reg extension. 
Modify the effective path to your bash running batch file.
Then double-click on the file.

Hope you enjoy it.

Marco.
-- 
  #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
 / Marco Torchiano                                                    /
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
 \ < mailto:torchiano@polito.it >     \ Dip. Automatica ed Informatica \
  \ < http://www.polito.it/~mtorchia > \ Politecnico di Torino          \
   \ phone: +39 011 564 7081          \ C.so Duca degli Abruzzi, 24    \
    \ fax: +39 011 564 7099            \ I-10129 Torino (Italy)         \
     #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list