Home Download Buy Blog Forum Support

"--data" command line flag not working

"--data" command line flag not working

Postby jordanrynard on Wed May 08, 2013 4:58 pm

Hey everyone,

I'm attempting to use the --data command line flag to change the data directory ST2 uses, but I'm having no luck at getting it to work.
(reference here: http://www.sublimetext.com/docs/command-line)

Has anyone confirmed that this flag works? I've tried executing ST2 from cmd with the flag, as well as modifying the shortcut file to execute ST2 with the flag.
ST2 just appears to open a new file using the folder name I provided with the --data flag...

I'd love to have this work (all alternate solutions aside (ex. using file/folder links or syncing folders)).

Many Thanks!

*on Windows 7
Posts: 1
Joined: Wed May 08, 2013 4:51 pm

Re: "--data" command line flag not working

Postby adzenith on Thu May 09, 2013 7:29 pm

...I believe those docs are still from ST1.
Posts: 1403
Joined: Mon Oct 19, 2009 9:12 pm

Re: "--data" command line flag not working

Postby wernight on Thu Jun 06, 2013 10:44 am

This command line should be supported even for the portable version. First it's documented, but more importantly it's useful. For example it allows me to create a launcher that can run x86/x64 with extra PATH and keep the same Data folder for both (without moving folders around).
Posts: 4
Joined: Mon Sep 24, 2012 3:58 pm

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 10 guests