cd /d %~d0
cd %~dp0



xcopy .\JLinkDevices.xml "C:\Program Files\SEGGER\JLink\" /Y
xcopy .\Device_Kiwi\ "C:\Program Files\SEGGER\JLink\Devices\" /S /Y
xcopy .\ProjectFiles_Kiwi\ "C:\Program Files\SEGGER\JLink\Samples\JFlash\ProjectFiles\" /S /Y

echo JLink install done!

pause