Novacane89
Member
Hi fellow viz enthusiasts,
Can someone enlighten me on how I can trigger my exe scripts from VTW ? Also specifically a exe or vbs script with 2 parameters. Below I tried to run the script with the supplied 2 parameters. input and output and then trigger it using Wcript but am getting a strange error response from the script doc. I get the colon ":" in 2 lines below one another as an error message :-? And no actual useful error info.
When I remove the exe reference with the parameters it opens a windows directory fine. but when I point the script to an exe or exe with params it gives me ":\n:" in the error field and does not trigger the script.
I have tried this
"
set Shell = CreateObject("Wscript.Shell")
cmd = "K:\Apps\TextSanitizer\TextSanitizer.exe" & " " & "K:\SportsData\Tennis\AusOpen.txt" & " " & "C:\test\AusOpenSanitized.txt"
Shell.Run cmd,0,1
"
Best Regards
Can someone enlighten me on how I can trigger my exe scripts from VTW ? Also specifically a exe or vbs script with 2 parameters. Below I tried to run the script with the supplied 2 parameters. input and output and then trigger it using Wcript but am getting a strange error response from the script doc. I get the colon ":" in 2 lines below one another as an error message :-? And no actual useful error info.
When I remove the exe reference with the parameters it opens a windows directory fine. but when I point the script to an exe or exe with params it gives me ":\n:" in the error field and does not trigger the script.
I have tried this
"
set Shell = CreateObject("Wscript.Shell")
cmd = "K:\Apps\TextSanitizer\TextSanitizer.exe" & " " & "K:\SportsData\Tennis\AusOpen.txt" & " " & "C:\test\AusOpenSanitized.txt"
Shell.Run cmd,0,1
"
Best Regards