If I run atprogram from where it is installed (C:\Program Files (x86)\Atmel\Atmel Studio 6.2\atbackend) it works. If I copy the atbackend, devices and tools directories to another drive it fails with the following message:
D:\atprogram\atbackend>atprogram -t avrispmkii info [ERROR] An unexpected error occurred when executing. Traceback (most recent call last): File "__init__.py", line 50, in run File "atmel\avr\cli\commandline.pyc", line 77, in execute_commands File "atmel\avr\cli\commandexecutor.pyc", line 52, in execute_commands File "atmel\avr\cli\resourcemanager.pyc", line 44, in prepare_resources File "atmel\avr\cli\resourcemanager.pyc", line 51, in _prepare_resource File "atmel\avr\cli\resourcecontainers.pyc", line 49, in allocate File "atmel\avr\cli\backend.pyc", line 108, in start UnicodeDecodeError: 'ascii' codec can't decode byte 0xb5 in position 12: ordinal not in range(128)
Any ideas? I tried copying the entire Atmel Studio folder but it didn't help.