On a Windows Remote Agent, we want to schedule a dos batch file .bat that launches a java program but with Autosys the java program doesn't start. When we schedule this dos batch file in Windows scheduled tasks, the java program starts.
The remote agent was not able to resolve relative paths passed as arguments to the main script.
Use absolute PATHs instead of relative PATHs everywhere in the .bat file so the Java program can start successfully.
Was this information helpful?