I have created an exe file (converted from vbscript to protect any changes in code, by mistake or otherwise). This script (vbscript) can be used with "cscript from command prompt and pipe the results in a text file in the same location from where it ran. After changing to exe, now this starts with WSH by default and when tries to run using cscript parameter gives error:
"Input Error: There is no script engine for file extension ".exe".
I am tried using batch script to call exe and pipe result in txt, did not help.
Here is what I need, any help is much appreciated.
VBScript gives output in command prompt when run in cscript and result can be piped into a text file.
Vbscript converted to exe
Now run this exe (by any script or method), should not be interactive, quietly runs or show progress on screen and display message when complete and result is saved in text file (result from vbscript/exe)
Thanks for help