Several sample scripts, which are installed along with Windows Script Host, are also available for download at (http://msdn.microsoft.com/scripting).
Suppose, for the purposes of this example, that you have copied the Chart.vbs sample script to the following folder on your computer:
|
c:\sample scripts\chart.vbs
|
You can run the script with and without a logo as follows.
To run a script with or without a logo
Start the MS-DOS command prompt.
Enter the following commands at the command prompt (modify accordingly if your sample scripts are located in a different folder):
|
cscript //logo c:\"sample scripts"\chart.vbs
cscript //nologo c:\"sample scripts"\chart.VBScript
|