/ Published in: Windows Registry
TheGun is a great Windows Notepad replacement, but it's a bit painful in how it registers itself when you choose it to open a file.
If you save it in "C:\Program Files\TheGun\THEGUN.EXE" and add something this to your registry, it should work nicely.
If you save it in "C:\Program Files\TheGun\THEGUN.EXE" and add something this to your registry, it should work nicely.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache] "C:\\Program Files\\TheGun\\THEGUN.EXE"="TheGun" "C:\\Progra~1\\TheGun\\THEGUN.EXE"="TheGun" [HKEY_CURRENT_USER\Software\Classes\Applications\THEGUN.EXE\shell\open\command] @="C:\\Progra~1\\TheGun\\THEGUN.EXE %1" [HKEY_CURRENT_USER_Classes\Applications\THEGUN.EXE\shell\open\command] @="C:\\Progra~1\\TheGun\\THEGUN.EXE %1" You may or may not want these as well: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pl\OpenWithList] "b"="THEGUN.EXE" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList] "b"="THEGUN.EXE"
URL: http://www.movsd.com/thegun.htm