Can I right-click a folder in Windows 7 and choose "Open with Sublime Text"?

Posted by George P. Burdell on Super User See other posts from Super User or by George P. Burdell
Published on 2012-04-14T05:28:27Z Indexed on 2012/04/14 5:32 UTC
Read the original article Hit count: 318

Filed under:
|

In Windows 7, I can do this at the command line:

"c:\Program Files\Sublime Text 2\sublime_text.exe" samplefolder

This launches a Sublime Text window, with the contents of samplefolder loaded in Sublime's sidebar.

While this works as needed, it's inconvenient to open a command prompt every single time. Is there any way I can add this behavior to Windows Explorer's right-click menu? I'd like to be able to right-click a folder and "Open with Sublime" just like I can right-click a folder and "Scan for viruses".

© Super User or respective owner

Related posts about windows-7

Related posts about sublime-text-2