In win7,“Session.sublime_session” & “Auto Save Session.sublime_session” default location is "% appdata% \ Sublime Text2 \ Settings ", I want to save it to another location, how to do.
How change the location of session files ? [Resolved]
Because of privacy issues, you know, all the contents of the document are written here.
%appdata% is located in your user folder. Should not be a privacy concern…
However, you could just do a symlink to your super secure folder and that’s it
[quote=“iamntz”]%appdata% is located in your user folder. Should not be a privacy concern…
However, you could just do a symlink to your super secure folder and that’s it [/quote]
So how to do? Add some code in “user settings”
% appdata% system environment variable can not be modified.
First of all, you move your sublime text 2 folder into a super secure location. Then, in a cmd window you type:
ln -s "Z:\your\super\secure\folder\Sublime Text 2" "c:\users\YOUR_USER\AppData\Roaming\Sublime Text 2"
Also, ln --help is a bit of… well, help
[quote=“iamntz”]First of all, you move your sublime text 2 folder into a super secure location. Then, in a cmd window you type:
ln -s "Z:\your\super\secure\folder\Sublime Text 2" "c:\users\YOUR_USER\AppData\Roaming\Sublime Text 2"
Also, ln --help is a bit of… well, help [/quote]
Thanks for your help.
This looks like a linux command, it’s “mklink” in win7.
But, I think you got it wrong.It looks just a shortcut.
I mean, sublime Don’t write these data in the C partition, but in another specified partition.Is there a better way?
Yeah, mklink. For some reasons I have ln command available tho.
Anyhow, what’s wrong with having files written in a different location?
Just came to me, I think you could just use portable version.
[quote=“iamntz”]Yeah, mklink. For some reasons I have ln command available tho.
Anyhow, what’s wrong with having files written in a different location?
Just came to me, I think you could just use portable version.[/quote]
Portable Edition! That’s it!Did not notice, I am sorry.
My English is poor. REALLY appreciate your help.
Love you.