Guest User

Untitled

a guest
Oct 22nd, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. @echo off
  2. rem Host Sublime Text 2 settings on Dropbox
  3. rem This must be run as administrator (for mklink)
  4. setlocal
  5. set DROPBOX=%HOMEDRIVE%%HOMEPATH%\Dropbox
  6. set SUBLIME=%APPDATA%\Sublime Text 2
  7. set NEW_SUBLIME=%DROPBOX%\configs\Sublime Text 2
  8.  
  9. mkdir "%NEW_SUBLIME%"
  10. move "%SUBLIME\Installed Packages" "%NEW_SUBLIME%"
  11. move "%SUBLIME\Packages" "%NEW_SUBLIME%"
  12.  
  13. mklink /D "%NEW_SUBLIME%\Installed Packages" "%SUBLIME%\Installed Packages"
  14. mklink /D "%NEW_SUBLIME%\Packages" "%SUBLIME%\Packages"
Add Comment
Please, Sign In to add comment