Batch file execution
I have a workflow that calls a batch file using the following VB script;
system.diagnostics.process.start("c:\geotest\run.cmd", arg1)
It works when I run it in the workflow designer but when I put it in the map it opens and closes very quickly. The processess is run by the default application pool from what I can tell and it has access to execute the file and it executes. I gave the folder pemissions and the folder is shared with the network with full access to the user.
Any ideas why it would open/close instantly?
If anyone knows a better way to execute a command line command with variables please let me know!
Thank you,
JB
0
-
Joshua -
Did you ever resolve this? I'm getting the same thing in 2020, using both VBScript and Invoke Method. Both work in the simulator but do nothing in a site - no errors, but doesn't seem to execute either.
Thanks,
Jena0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar