a guest Oct 22nd, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- @echo off
- rem Host Sublime Text 2 settings on Dropbox
- rem This must be run as administrator (for mklink)
- set DROPBOX=%HOMEDRIVE%%HOMEPATH%\Dropbox
- set SUBLIME=%APPDATA%\Sublime Text 2
- set NEW_SUBLIME=%DROPBOX%\configs\Sublime Text 2
- mkdir "%NEW_SUBLIME%"
- move "%SUBLIME\Installed Packages" "%NEW_SUBLIME%"
- move "%SUBLIME\Packages" "%NEW_SUBLIME%"
- mklink /D "%NEW_SUBLIME%\Installed Packages" "%SUBLIME%\Installed Packages"
- mklink /D "%NEW_SUBLIME%\Packages" "%SUBLIME%\Packages"
RAW Paste Data