summaryrefslogtreecommitdiff
path: root/archive/bin/win32setup.bat
blob: 5fd04fa24bb334e1f1199ced038c12c7a81f8893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
REM See comproc.org for when to use this script
REM Used to invoke roughly like this in dotfiles mr fixups action:
REM     win32 && ( cd ~/src/dotfiles/bin && cmd "/C win32setup.bat" )
REM ---- BEGIN WORK

CD %HOMEPATH%
mklink /J .emacs.d src\dotfiles\.emacs.d
mklink /J bin src\dotfiles\bin
mklink /J tmp Desktop
copy /y src\dotfiles\home-mrconfig .mrconfig
copy /y src\dotfiles\.gitconfig .gitconfig
copy /y src\dotfiles\.globgitignore .globgitignore
copy /y src\dotfiles\.bashrc .bashrc
copy /y src\dotfiles\.shenv .shenv
mkdir %APPDATA%\cabal
REM copy /y src\dotfiles\.cabal\config %APPDATA%\cabal\config

REM Could generalise the following for all dirs under dotfiles/AppData/Roaming
mklink /J %APPDATA%\VirtuaWin src\dotfiles\AppData\Roaming\VirtuaWin

REM ---- END   WORK
REM ECHO.
REM ECHO That should be everything set-up.
REM pause