Thanks that fixed the problem when I reinstalled.
It used to work for me as well and when upgrading then it stopped working (I suspect due to some strange registry settings on my machine) but putting the quote round is best.
Thanks and thanks for Geany.
Louis Barman
2009/6/17 Enrico Tröger enrico.troeger@uvena.de:
On Wed, 17 Jun 2009 11:50:12 +0100, Louis wrote:
Ok,
As is often usual in these occasions, I have fixed my own problem.
Using regedit (from the command line run C:\WINDOWS\system32\regedt32.exe ) I searched for geany and found this entry.
Key: HKEY_CLASSES_ROOT*\shell\OpenWithGeany\command Data: C:\Program Files\Geany\bin\geany.exe "%1"
I modified the data and put quotes round "C:\Program Files\Geany\bin\geany.exe" as follows: Data: "C:\Program Files\Geany\bin\geany.exe" "%1"
By the way what value does every one else have for the data in the "HKEY_CLASSES_ROOT*\shell\OpenWithGeany\command" registry key? When writing this key during installation do you put in the quotes round "C:\Program Files\Geany\bin\geany.exe"?
No, we don't. But obviously we should. My test Windows box has a German locale and the Program Files folder is there called "Programme" without any spaces. This might be one reason why I didn't notice that problem. Anyway, yesterday I tested it also with a manually created folder c: \Program Files\Geany... and it still worked, no idea why. I also have no idea why the missing quotes causes DOS 8.3 filenames.
http://www.uvena.de/tmp/geany-0.17svn_3871_nogtk_setup.exe and http://www.uvena.de/tmp/geany-0.17svn_3871_setup.exe are just built installers with this change (added quotes around the command), please try it (just choose the one of the installers you used previously) and report if it helps.
Thanks!
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany