I have a DOS command where I’m substituting all kinds of local variables like so:
pcli run -n Vlog -pr"%PVCSArchiveLocation%" -ds"%LastRunDate%" -de"%RunDate%" -z -f"%FBProjectDIR%%LogFile%" -id"%PVCSUserId%:%PVCSPswd%" "%PVCSProject%"
Is there any way that I can have FB log the expanded command so that if something goes wrong I can see the values that were passed to the command? Right now the output from the command goes into the Build Log, but not the command itself.
Thanks
Paul
Hi Paul
You should the Execute Program action rather than the dos command action, it will log the expanded command line.
I tried that, but when I use the Execute Program option using the exact same parameters I get the error message:
"Failed to execute program. Error : The system cannot find the file specified"
Any suggestions?
Thanks.
Make sure you specify the full path to the exe.