Sublime Text subl command line access on windows
If you are a terminal or command line power user, you often want to open in from Sublime Text right from the cmd line. Often something like this:
On OSX and Linux, we have the subl command that comes with Sublime Text, to install it you can follow the instructions here
However, on windows we need to do it a little different by creating something called a doskey.
So, if you wish to use the subl command to open files and folders from the command line in windows, you can use the following:
doskey subl="C:\Program Files\Sublime Text 2\sublime_text.exe" $*
Paste the above into your command line prompt and this will make the subl command available to you.
If you are using Sublime Text 3, use the following instead:
doskey subl="C:\Program Files\Sublime Text\sublime_text.exe" $*