Wish Prompt Here

# Created: 6/22/06

For MS Windows. Adds a 'Wish Prompt Here' selection to File Explorer's the right click menu. If selected in left, folder pane, opens a new shell in the folder that was right clicked. If selected in right, file pane, opens a new shell in the enclosing folder.

Save the following as 'wishhere.inf' after editing the path to wish.exe to match your layout.

Then right click on 'wishhere.inf' and select 'Install'.

Can be uninstalled via 'Settings | Add/Remove Programs'.


 ;
 ; "Wish Prompt Here"
 ;
 ; Copyright 2006 Tom Schmit (tpschmit at yahoo dot com)
 ; Licensed under the LGPL (http://www.gnu.org/copyleft/lesser.txt)
 ;
 ; Based on "Bash Prompt Here" by Ross Smith.
 ; Edit the phrase "o:\tcl\bin\wish" as needed.

 [version]
 signature="$CHICAGO$"

 [BashHereInstall]
 CopyFiles = WishHere.Files.Inf
 AddReg    = WishHere.Reg

 [DefaultInstall]
 CopyFiles = WishHere.Files.Inf
 AddReg    = WishHere.Reg

 [DefaultUnInstall]
 DelFiles  = WishHere.Files.Inf
 DelReg    = WishHere.Reg

 [SourceDisksNames]
 55="Wish Prompt Here","",1

 [SourceDisksFiles]
 WishHere.INF=55

 [DestinationDirs]
 WishHere.Files.Inf = 17

 [WishHere.Files.Inf]
 WishHere.INF

 [WishHere.Reg]
 HKLM,%UDHERE%,DisplayName,,"%WishHereName%"
 HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\WishHere.inf"
 HKCR,Directory\Shell\WishHere,,,"%WishHereAccel%"
 HKCR,Directory\Shell\WishHere\command,,,"o:\tcl\bin\wish"
 HKCR,Drive\Shell\WishHere,,,"%WishHereAccel%"
 HKCR,Drive\Shell\WishHere\command,,,"o:\tcl\bin\wish"

 [Strings]
 WishHereName="Wish Prompt Here"
 WishHereAccel="&Wish Prompt Here"
 UDHERE="Software\Microsoft\Windows\CurrentVersion\Uninstall\WishHere"

# Created: 6/22/06

Similar to above. For MS Windows. Adds a 'Tkcon Prompt Here' selection to File Explorer's the right click menu. If selected in (left) folder pane, opens a new shell in the folder that was right clicked. If selected in (right) file pane, opens a new shell in the enclosing folder.

Save the following as 'tkconhere.inf' after editing the path to wish.exe to match your layout.

Then right click on 'tkconhere.inf' and select 'Install'.

Can be uninstalled via 'Settings | Add/Remove Programs'.


 ;
 ; "Tkcon Prompt Here"
 ;
 ; Copyright 2006 Tom Schmit (tpschmit at yahoo dot com)
 ; Licensed under the LGPL (http://www.gnu.org/copyleft/lesser.txt)
 ;
 ; Based on "Bash Prompt Here" by Ross Smith.
 ; Edit the phrase "o:\tcl\bin\wish" as needed.

 [version]
 signature="$CHICAGO$"

 [BashHereInstall]
 CopyFiles = TkconHere.Files.Inf
 AddReg    = TkconHere.Reg

 [DefaultInstall]
 CopyFiles = TkconHere.Files.Inf
 AddReg    = TkconHere.Reg

 [DefaultUnInstall]
 DelFiles  = TkconHere.Files.Inf
 DelReg    = TkconHere.Reg

 [SourceDisksNames]
 55="Tkcon Prompt Here","",1

 [SourceDisksFiles]
 TkconHere.INF=55

 [DestinationDirs]
 TkconHere.Files.Inf = 17

 [TkconHere.Files.Inf]
 TkconHere.INF

 [TkconHere.Reg]
 HKLM,%UDHERE%,DisplayName,,"%TkconHereName%"
 HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\TkconHere.inf"
 HKCR,Directory\Shell\TkconHere,,,"%TkconHereAccel%"
 HKCR,Directory\Shell\TkconHere\command,,,"O:\Tcl\bin\wish.exe "O:\Tcl\bin\tkcon.tcl""
 HKCR,Drive\Shell\TkconHere,,,"%TkconHereAccel%"
 HKCR,Drive\Shell\TkconHere\command,,,"O:\Tcl\bin\wish.exe "O:\Tcl\bin\tkcon.tcl""

 [Strings]
 TkconHereName="Tkcon Prompt Here"
 TkconHereAccel="&Tkcon Prompt Here"
 UDHERE="Software\Microsoft\Windows\CurrentVersion\Uninstall\TkconHere"