Well that .cmd file has to be on the system, not sure why there is a \ there either. You need to check the path to that file. The path would be like C:\Folder\Folder\Autorun2.cmd If you have spaces or special character in the string you may need to use quotes to enclose it. From the error message, that is likely the issue, spaces or some other character that is not read properly.