@an.eireann - I also use Windows XP.
1. To not have Sublime open notepad.exe as a text file - you have to use the -z switch when using that Debugger registry key as shown in my previous post. That is because you are technically telling Windows to use sublime_text as the debugger so that when "notepad.exe <args>" is called it will call "<debugger> notepad.exe <args>". The "-z" switch was added by the developer to ignore the first argument as posted here by jps
2. The reason you are getting separate tabs for Documents, and, My - is because %1 is being launched from the registry in Windows XP without quotes around it - and so paths with spaces in the name are being interpreted as multiple files. You just need to add the quotes around the %1 argument. To fix this - go to regedit - search the registry for all instances of notepad.exe %1
and replace it with notepad.exe "%1"
Really, the better way to solve #2 - instead of using the "Open With" dialog box - associate the extension yourself in the registry. First create a SublimeFile class type with the following registry script:
- Code: Select all
Windows Registry Editor Version 5.00
Then go to regedit - HKEY_CLASSES_ROOT\.ext (where ext is the extension you want to associate) - and change the (Default) value to SublimeFile.