View Single Post
  #2 (permalink)  
Old May 11th, 2005, 09:50 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Very easy if the script is being run by the Windows Script Host, as stand alone files are by default, it's very similar to using traditional batch files as regards passing the values. To retrieve them see the documentation here and look at WScript.arguments.
Windows Script Host

--

Joe (Microsoft MVP - XML)
Reply With Quote