-
April 12th, 2006, 16:18 PM
#11
VBScript is derived from Visual Basic. Unlike Visual Basic or VBA, VBScripts can not be compiled prior to their execution....
Microsoft offers three hosts for running script code - Internet Explorer, Internet Information Server (IIS),Windows Script Host (WSH). By default, WSH associate WScript.exe (the graphical version of the WSH) with the scripting extensions (.vbs .vbe .js .jse .wsf) so double-clicking a .vbs file will normally execute WScript.exe which then execute the double-clicked script. WSH consists of one other executable, Cscript.exe, which is used to execute scripts on a command line.
To run the script in command line mode, start CMD and type the following command…
cscript [script name]
script name is the name of the script file, including the file name extension and any necessary path information.
Microsoft Windows 2000 Scripting Guide is an excellent resource to learn VBScript, WSH and WMI.
http://www.microsoft.com/technet/scr..._overview.mspx
WMI Scripting tutorial
http://msdn.microsoft.com/library/en...ng06112002.asp
Last edited by Kane; April 12th, 2006 at 16:51 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks