Question
cfexecute and UNC
Greetings!
I need CF to make a command line call to a .exe thats on another machine. Im getting a CF error saying "the network path was not found."
CF is able to write to that machine and the directory where the .exe is via UNC path and cffile tags. Can I assume that if cffile works over UNC that cfexecute should as well?
Also, I've seen examples of cfexecute (fortas in particular) where the name attribute points to c:\windows\system32\cmd.exe as opposed to pointing to the .exe to be run. Can you not simply point the name attribute to the .exe, or do you always need to use cmd.exe and call a batch file to finally get to the .exe in question?
If so, can you pass parameters to the batch file? The .exe I need to call needs to get arguments, and I'm a little unclear as to how that might work.
TIA!
I need CF to make a command line call to a .exe thats on another machine. Im getting a CF error saying "the network path was not found."
CF is able to write to that machine and the directory where the .exe is via UNC path and cffile tags. Can I assume that if cffile works over UNC that cfexecute should as well?
Also, I've seen examples of cfexecute (fortas in particular) where the name attribute points to c:\windows\system32\cmd.exe as opposed to pointing to the .exe to be run. Can you not simply point the name attribute to the .exe, or do you always need to use cmd.exe and call a batch file to finally get to the .exe in question?
If so, can you pass parameters to the batch file? The .exe I need to call needs to get arguments, and I'm a little unclear as to how that might work.
TIA!
