Add TheGun editor to your registry


/ Published in: Windows Registry
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. Windows Registry Editor Version 5.00
  2.  
  3. [HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
  4. "C:\\Program Files\\TheGun\\THEGUN.EXE"="TheGun"
  5. "C:\\Progra~1\\TheGun\\THEGUN.EXE"="TheGun"
  6.  
  7. [HKEY_CURRENT_USER\Software\Classes\Applications\THEGUN.EXE\shell\open\command]
  8. @="C:\\Progra~1\\TheGun\\THEGUN.EXE %1"
  9.  
  10. [HKEY_CURRENT_USER_Classes\Applications\THEGUN.EXE\shell\open\command]
  11. @="C:\\Progra~1\\TheGun\\THEGUN.EXE %1"
  12.  
  13.  
  14. You may or may not want these as well:
  15.  
  16. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pl\OpenWithList]
  17. "b"="THEGUN.EXE"
  18.  
  19. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList]
  20. "b"="THEGUN.EXE"

URL: http://www.movsd.com/thegun.htm

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.