Sublime Forum

Opening repos from a batch file?

#1

In windows 10 I want to open multiple repos from a batch file

so far all I can figure out is:

start /d "C:\Program Files\Sublime Merge\" sublime_merge.exe

because sublime merge opens folders rather than files, e.g. in sublime text I can set default files for sublime text project files in windows 10 to always open in sublime text 3 like so:

start /d "D:\foldername" suchandsuch.sublime-project

How can I achieve a similar way of opening git repos in sublime merge using a batch command?

0 Likes

#2

No worries I worked it out you just do:

start /d "C:\Program Files\Sublime Merge\" sublime_merge.exe c:\directoryofgitrepo

0 Likes