| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
You would use Arguments, take a look at the Arguments Property (Wscript Object) in the WSH document, see pinned post. Here is an ex. somescript.vbs blah1 blah2 blah3 Set objArgs = WScript.Arguments For I = 0 to objArgs.Count - 1 WScript.Echo objArgs(I) Next
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|