Home Download Buy Blog Forum Support

Command line in Windows not to open new windows

Command line in Windows not to open new windows

Postby scalopus on Tue Nov 13, 2012 4:05 pm

Hi,
My problem is like this topic viewtopic.php?f=2&t=6671&p=32127&hilit=new+window+startup#p32127

However, I use Win7 not MacOS. I use the shortcut pointing to the project folder as below
"C:\Program Files\Sublime Text 2\sublime_text.exe" -n D:\rails\folder
and
"C:\Program Files\Sublime Text 2\sublime_text.exe" -a D:\rails\folder

(1) it will show 2 windows if there are no any sublime opened on that time. The first windows will show the files from previous session, the second window will show the directory mention in the command line.
- By this case, if there are already have sublime opened, it will open one more table and show the directory which describe in the command line

(2) this way, will open Sublime text only one windows even it already open or not. however, it will attached the folder in the command line with the one that exists in the previous session.


However, I look for the way to open just only one windows which have only the folder in the command line in the editor (like the case (1) without have the previous session).

What should I do for this case?
scalopus
 
Posts: 1
Joined: Tue Nov 13, 2012 3:59 pm

Return to General Discussion

Who is online

Users browsing this forum: giltig, Lu Nelson and 36 guests