I am trying to get a command executed in a task.
The command goes like this:
C:\Program Files (x86)\ClassExec\classexec
with arguments:
--action Print
for printing a word 2k7 document on Windows 7 (final destination Server 2003).
A working Run command looks like this:
C:\Program Files (x86)\ClassExec\classexec "C:\test\docxtest\Printer1 - Printer Test 12A.docx" --action print
As I cannot figure out how to see the command that VisualCron is executing, I am unable to determine if VisualCron is putting the filename in the command. The filename must go before the parameter or else Classexec throws a "file not found error."
Anyone have any suggestions as to how I go about doing that?
I have tried adding in "{TRIGGER(Active,LastTrigger,File.Result.FullPath)}" before the parameter, but I am seeing a "[Result not set for: TRIGGER(Active,LastTrigger,File.Result.Fullpath)]" (Classexec is reporting that as the filename and throwing an incorrect filename error).
I have also tried setting the task to "print document". Allowing autodetect prints gibberish and selecting word says "Job completed succesfully", but prints nothing.
Thanks
- Kane