Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get user input in vbs

Status
Not open for further replies.

patchkit

IS-IT--Management
Nov 20, 2001
17
US
I have a script that passes parameters just fine, however i cannot remember the commands to get user input and assign it to a variable in VBS. I need to get a server name which i can pass but it would work better if it asks for it as i am using it in multiple domains.

Thanks
 
strFoo = InputBox("Enter FOO")

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top