1
0
Fork 0
dotfiles/install.bat

17 lines
342 B
Batchfile
Raw Permalink Normal View History

@echo off
set SOURCE=%USERPROFILE%\AppData\Roaming\dotfiles\.config\emacs
set DEST=%USERPROFILE%\Appdata\Roaming\.emacs.d
if not exist "%SOURCE%" (
echo Source directory does not exist: %SOURCE%
exit /b 1
)
if not exist "%DEST%" (
mkdir "%DEST%"
)
xcopy "%SOURCE%\*" "%DEST%\" /E /I /Y /H
echo Copy completed.