Paste the VBScript code into a text file with *.vbs extension. You can use
Notepad. Most administrative scripts are run at a command prompt with
cscript. For example, if the VBScript program is saved in a file called
Example.vbs, the command could be:
cscript Example.vbs
This assumes you are in the folder where the file Example.vbs is saved.
Otherwise, you must include the path to the file. You should also be able to
run the program by clicking on the *.vbs file in Windows Explorer. The file
association for *.vbs files should be one of the host program for VBScript,
either cscript.exe or wscript.exe. For this example, either host should work
fine. Cscript is designed for the command console, wscript provides a GUI
interface.
--
Richard Mueller
MVP Directory Services
Hilltop Lab -
http://www.rlmueller.net
--