Does the 'Open in Sublime Text' context menu entry take this long too?
FWIW, setting up Sublime Text as the default program for .txt files doesn't have any delay for me.
Whenever a file is associated with an application in Windows, a new instance of that application is always created by explorer when you double click on a file, and its then up to that program to hand off the files to the existing instance and then exit.
There are two possible scenarios I can think of that would cause a delay:
- For some reason starting the new instance is taking a long time. A virus scanner can cause issues like this.
- There is an unresponsive application running that's causing the search for the existing instance to take a long time. Try closing other applications and see if the issue persists.