Executing Windows Script in AE PeopleCode
Hello,
We are trying to execute a windows script in an Application Engine using Peoplecode. We are on PeopleTools version 8.51 and the script is not being executed. We are also receiving an exitcode value of 1. Has anyone else encountered this issue? What can be done to resolve this issue? Has anyone been able to execute a windows script successfully? I have listed our PeopleCode below. Any help or suggestions would be greatly appreciated.
Global File &FileLog;
Global string &LogFileName, &Servername;
Local string &Footer;
&Servername = PNM_ETL_AET.SERVERNAME.Value;
If All(&Servername) Then
If &Servername = "PSNT" Then
&ScriptName = "\scripts\Upload.bat";