Jump to content


problem opening files with spaces for sublime text

sublime text

  • Please log in to reply
No replies to this topic

#1 Harreh


    Neowinian Senior

  • Joined: 18-May 05
  • Location: Manchester, England.

Posted 16 August 2013 - 19:38



Not sure if many people are familiar with Sublime Text 2 but hopefully someone can help me here.

The issue is with the .reg file below, which is meant to redirect calls to notepad.exe to sublime_text.exe.

What happens is, when opening a file with spaces, such as "hello world.txt" sublime opens two files, one called "hello" and another called "world.txt".

I've used this method on two separate machines successfully so I'm at a loss to why it's not working this time round.

Tried re-installing. Tried installing it in its default location (Program FIles). Nope.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Notepad.exe]
"Debugger"="\"C:\\Apps\\Sublime Text 2\\sublime_text.exe\" -z"