|
From: Tigran <ti...@us...> - 2005-09-08 23:19:54
|
I have a gnuhere.inf file that will place a gnuplot prompt here menue when I right click on a directory. The menue item opens gnuplot and when I click on open it automatically opens in that directory where I right clicked. This used to work with an old version of gnuplot (not sure which version) it doesn't work with latest version of gnuplot. anybody know how to fix it? here is the content of gnuhere.inf ; ; "uplot Prompt Here" PowerToy ; ; Copyright 1996 Microsoft Corporation ; [version] signature="$CHICAGO$" [GnuHereInstall] CopyFiles = GnuHere.Files.Inf AddReg = GnuHere.Reg [DefaultInstall] CopyFiles = GnuHere.Files.Inf AddReg = GnuHere.Reg [DefaultInstall.ntx86] CopyFiles = GnuHere.Files.Inf AddReg = GnuHere.Reg.NT [DefaultUnInstall] DelFiles = GnuHere.Files.Inf DelReg = GnuHere.Reg [DefaultUnInstall.ntx86] DelFiles = GnuHere.Files.Inf DelReg = GnuHere.Reg.NT [SourceDisksNames] 55="Gnu Prompt Here","",1 [SourceDisksFiles] GnuHere.INF=55 [DestinationDirs] GnuHere.Files.Inf = 17 [GnuHere.Files.Inf] GnuHere.INF [GnuHere.Reg] HKLM,%UDHERE% HKLM,%UDHERE%,DisplayName,,"%GnuHereName%" HKLM,%UDHERE%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\GnuHere.inf" HKCR,Directory\Shell\GnuHere,,,"%GnuHereAccel%" HKCR,Directory\Shell\GnuHere\command,,,"%10%\command.com /k cd ""%1""" HKCR,Directory\Shell\GnuHere\command,,,"%10%\wgnuplot.exe HKCR,Drive\Shell\GnuHere,,,"%GnuHereAccel%" HKCR,Drive\Shell\GnuHere\command,,,"%10%\command.com /k cd ""%1""" HKCR,Drive\Shell\GnuHere\command,,,"%10%\wgnuplot.exe [GnuHere.Reg.NT] HKLM,%UDHERE% HKLM,%UDHERE%,DisplayName,,"%GnuHereName%" HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\GnuHere.inf" HKCR,Directory\Shell\GnuHere,,,"%GnuHereAccel%" HKCR,Directory\Shell\GnuHere\command,,,"%11%\command.com /k cd ""%1""" HKCR,Directory\Shell\GnuHere\command,,,"%10%\wgnuplot.exe HKCR,Drive\Shell\GnuHere,,,"%GnuHereAccel%" HKCR,Drive\Shell\GnuHere\command,,,"%11%\command.com /k cd ""%1""" HKCR,Drive\Shell\GnuHere\command,,,"%10%\wgnuplot.exe [Strings] GnuHereName="Gnuplot Prompt Here" GnuHereAccel="Gnuplot &Prompt Here" UDHERE="Software\Microsoft\Windows\CurrentVersion\Uninstall\GnuHere" Thanks |
|
From: Hans-Bernhard B. <br...@ph...> - 2005-09-09 09:09:55
|
Tigran wrote: > This used to work with an old version of gnuplot (not sure which > version) it doesn't work with latest version of gnuplot. At least tell use which version that "latest" one is --- CVS (of which day?), or release 4.0? > anybody know how to fix it? I don't think so. I don't know where you got this, nor do I understand what it does, but this part: > HKCR,Directory\Shell\GnuHere\command,,,"%10%\command.com /k cd ""%1""" > HKCR,Directory\Shell\GnuHere\command,,,"%10%\wgnuplot.exe looks quite suspicious. It seems to suggest that command.com and wgnuplot.exe are expected to be in the same directory. That's quite certainly the wrong plan, even on Win9x. |
|
From: Tigran <ti...@us...> - 2005-09-09 17:08:36
|
At 00:32 9/9/2005, Hans-Bernhard Broeker wrote: >Tigran wrote: >>This used to work with an old version of gnuplot (not sure which version) >>it doesn't work with latest version of gnuplot. > >At least tell use which version that "latest" one is --- CVS (of which >day?), or release 4.0? I'm trying to make it work with gnuplot 4.0 patchlevel 0 >>anybody know how to fix it? > >I don't think so. I don't know where you got this, nor do I understand >what it does, but this part: > >>HKCR,Directory\Shell\GnuHere\command,,,"%10%\command.com /k cd ""%1""" >>HKCR,Directory\Shell\GnuHere\command,,,"%10%\wgnuplot.exe > >looks quite suspicious. It seems to suggest that command.com and >wgnuplot.exe are expected to be in the same directory. That's quite >certainly the wrong plan, even on Win9x. That's right that part is messed up. I modified the registry manually to point to the correct path for wgnuplot.exe. It works to a point. When I right click on a directory and select Gnuplot here gnuplot opens. the pwd command shows the directory I right clicked in but clicking on Open button doesn't open in the directory I right clicked in. It opens in the last directory I saved something in. --Tigran |
|
From: Hans-Bernhard B. <br...@ph...> - 2005-09-09 17:22:46
|
Tigran wrote: > point to the correct path for wgnuplot.exe. It works to a point. When I > right click on a directory and select Gnuplot here gnuplot opens. the > pwd command shows the directory I right clicked in but clicking on Open > button doesn't open in the directory I right clicked in. It opens in the > last directory I saved something in. I'm not sure there's anything to be done about that. That's default Windows behaviour, decided not by us, but by Microsoft. |
|
From: Tigran <ti...@us...> - 2005-09-09 19:37:00
|
At 10:24 9/9/2005, Hans-Bernhard Broeker wrote: >Tigran wrote: >>point to the correct path for wgnuplot.exe. It works to a point. When I >>right click on a directory and select Gnuplot here gnuplot opens. the pwd >>command shows the directory I right clicked in but clicking on Open >>button doesn't open in the directory I right clicked in. It opens in the >>last directory I saved something in. > >I'm not sure there's anything to be done about that. That's default >Windows behaviour, decided not by us, but by Microsoft. I see, thanks for looking into it. --Tigran |