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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

selecting a value from a list

Status
Not open for further replies.

biscuit1

Programmer
Apr 4, 2002
15
US
Is there a VBScript function that will select a value from a given list of arguments?
 
Do you mean the arguments when the script is called???

ie c:\test.vbs hello world

Set objArgs = WScript.Arguments

For i = 0 To UBound(objArgs)
Msgbox objArgs(i)
Next

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top