Can not run vbs file from exe file remotely.
Posted: Sun Apr 19, 2015 8:29 pm
Something happened and I can not run any vbs file remotely via using produced exe file, before it was running but right now I can not.
ALso I tried running though bat file but no work.
I use Run application
as also in the code
the interesting thing is that it Runs when I run directly from Renorex Studio but does not run when called through exe file.
Report.Log(ReportLevel.Info, "Application", "Run application 'D:\testfiles\scripts\vbs\capture.vbs' with arguments '' in normal mode.", new RecordItemIndex(1))
Host.Local.RunApplication("D:\testfiles\scripts\vbs\capture.vbs", "", "D:\testfiles\scripts\vbs", False)
Delay.Milliseconds(0)
I also tried in user code using below code
Shell ("Wscript.exe D:\testfiles\scripts\vbs\capture.vbs")
again works in Renorex but not via exe file..
Anyone has any idea on this ?
Thanks,
Rasim.
ALso I tried running though bat file but no work.
I use Run application
as also in the code
the interesting thing is that it Runs when I run directly from Renorex Studio but does not run when called through exe file.
Report.Log(ReportLevel.Info, "Application", "Run application 'D:\testfiles\scripts\vbs\capture.vbs' with arguments '' in normal mode.", new RecordItemIndex(1))
Host.Local.RunApplication("D:\testfiles\scripts\vbs\capture.vbs", "", "D:\testfiles\scripts\vbs", False)
Delay.Milliseconds(0)
I also tried in user code using below code
Shell ("Wscript.exe D:\testfiles\scripts\vbs\capture.vbs")
again works in Renorex but not via exe file..
Anyone has any idea on this ?
Thanks,
Rasim.