@echo off

:: make backup of local settings directory
MOVE "%USERPROFILE%\Local Settings\Application Data\OcenAudio" "%USERPROFILE%\Local Settings\Application Data\OcenAudio_backup"

:: create directory to copy settings files to
MKDIR "%USERPROFILE%\Local Settings\Application Data\OcenAudio"

:: copy settings file to local machine
COPY "%~dp0Settings\*.*" "%USERPROFILE%\Local Settings\Application Data\OcenAudio"