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."

jl66ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris BottomleySoftware Quality Lead EngineerCommented:
Use wscript

eiher
execute the script using wscript:
wscript scriptname.vba
or to always use wscript ...
cscript //h:Wscript
to set the default then simply execute the script

Chris
Chris BottomleySoftware Quality Lead EngineerCommented:
Obviously that should be:

wscript scriptname.vbs

Chris
Chris BottomleySoftware Quality Lead EngineerCommented:
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
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Daz_1234Commented:
This is what I believe you want:

When calling the vbscript with cscript use the following:

Cscript //NOLOGO scripttorun.vbs

Hope this helps,
Daz

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jl66ConsultantAuthor Commented:
Thanks alot for the tips
Bill PrewIT / Software Engineering ConsultantCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.