Running invisible script
I am running an Event Log Reporter script in my K1000 and I created it using the instructions in the link below. While it runs fine and does its job, I find it problematic that while the script runs, the user sees a black command window from cscript.exe and it disappears after a few seconds. Is there a way to modify the script so that it doesn't show this black window for the users? I don't want users to get worried about windows suddenly popping on their screens at random times.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
7 years ago
Try Googling "run dos command without window".
Comments:
-
Ok, so what I found is that a parameter needs to be added to cscript.exe so that it runs silently. In this case, I added //b //nologo right at the beginning of the line where you include the parameters. - verasme 7 years ago