Sublime Forum

Problem opening files with spaces

#1

Hello.
I am having trouble opening files with spaces in them.

For example the following file:

“Read Me.txt”

will open a file called “Read” and a file called “Me.txt”.

I think it’s related to the notepad replacement tool I’ve used as it’s fine if I open it with right click.

0 Likes

#2

As far as I know, I’m not doing anything wrong.

I made the following .reg file:

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"

Source

0 Likes

#3

It’s ok, I found what I was doing wrong.

The correct .exe to set it to is SublimeLauncher.exe, not sublime_text.exe.

0 Likes