Link to home
Create AccountLog in
Avatar of jl66
jl66Flag for United States of America

asked on

How to suppress the MS version lines when running vbs?

How not to show the following lines when executing a VB script?
"Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved."

SOLUTION
Avatar of Chris Bottomley
Chris Bottomley
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Obviously that should be:

wscript scriptname.vbs

Chris
Note the command lines are shown as for a CLI, i.e. typing cmd in the run dialog on the start menu followed by entering the commands therein .. and whilst I assumed that awareness ... better to precise!

Chris
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of jl66

ASKER

Thanks alot for the tips
Avatar of Bill Prew
Bill Prew

Just one other point, you could also do:

CSCRIPT //NOLOGO //S

and that will save the NOLOGO option for that user for all future uses of CSCRIPT.

~bp