Prevent error message if ActivMgr isn't running

Code from
https://stackoverflow.com/questions/162291/how-to-check-if-a-process-is-running-via-a-batch-script
Changed to XCOPY to prevent errors

Also allows it to create folders for configuration files as needed.