Reputation: 952
Ran into a problem today. I have a Windows Server 2003 with a bunch of .bat files that essentially start .vbs scripts. Every time an ECH is used in the script I get that annoying dialog box that contains content of an echo and requires to click ENTER all the time. How can I just disable the dialogs and keep ECHOs in the command prompt window only?
Upvotes: 0
Views: 7805
Reputation: 23863
Force it to run under cscript
instead of wscript
If you are running the script manually, just put cscript
in front of it.
Otherwise, this might give you an approach:
http://www.robvanderwoude.com/vbstech_engine_force.php
Upvotes: 2
Reputation: 180858
Redirect the output somewhere else, i.e.
scriptname.vbs > textfile.txt
Upvotes: 0