Why is the Task Builder including the working directory in the commandline when I create a windows application post task?
This seems to be messing things up. When I troubleshoot this buy editing the failed post task during the deployment, I remove the directory path from the commandline and the task works fine. I am seeing alot of other examples on ITninja where the path is not in the command line and I;m not sure why the task keeps getting created this way. Also seems to be no way to edit this in the Task XML in PEinst after it is created.
I place this: cmd /c rez_change.exe /x:1920 /y:1080 in the parameter field when creating the task and I get this: "%systemdrive%\KACE\Applications\58\cmd /c rez_change.exe" /x:1920 /y:1080 in the task XML. It adds the path and the quotes and makes it fail.
HELP!
I place this: cmd /c rez_change.exe /x:1920 /y:1080 in the parameter field when creating the task and I get this: "%systemdrive%\KACE\Applications\58\cmd /c rez_change.exe" /x:1920 /y:1080 in the task XML. It adds the path and the quotes and makes it fail.
HELP!
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer