Skip to content

Instantly share code, notes, and snippets.

@jda0
Created September 22, 2017 22:53
Show Gist options
  • Save jda0/4e035296abc56e343b437109f00c0423 to your computer and use it in GitHub Desktop.
Save jda0/4e035296abc56e343b437109f00c0423 to your computer and use it in GitHub Desktop.
@echo off
set /p full="Do you have the Arduino IDE already installed? (y/N) "
@echo on
if /I "%full:~0,1%"=="y" (
echo "Hello"
xcopy /s/e/y Arduino\Windows\arduino-1.8.1 "%USERPROFILE%\Documents\arduino-1.8.1\"
)
xcopy /s/e/y Arduino15 "%USERPROFILE%\AppData\Local\Arduino15\"
mkdir "%USERPROFILE%\Documents\Arduino\libraries"
xcopy /s/e/y Arduino\All\libraries "%USERPROFILE%\Documents\Arduino\libraries"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment