I am trying to run a Perl script in Windows 2012 R2 (64 bit) using schedule task.
I am getting %1 is not a valid Win32 application. (0x800700C1)
error. When I run this script from the command prompt it runs fine
I have Strawberry Perl (64 bit) installed on this server.
How to resolve this issue?
Depending on which Windows OS you're using, for Windows 7 professional, One need to add the full path to perl exe in the "program/script" box, and the full path to the perl script in the "Add Arguments (optional)" box. I had the same problem, this fixed the problem.
User contributions licensed under CC BY-SA 3.0