Prev | Current Page 446 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

You create a variable to
hold the argument list, and then access the individual arguments as you would any array. The
Arguments.Count property contains the total number of array elements.
FullName Contains the full name of the scripting engine along with the fully qualified path to
it. For example, if you were using CScript, you might get C:\WINDOWS\SYSTEM32\CSCRIPT.EXE
as a return value.
Interactive Returns true if the script is in interactive mode.
Name Returns the friendly name for WScript. In most cases, this is Windows Script Host.
Path Provides just the path information for the host executable. For example, if you were
using CScript, you may get a return value of: C:\WINDOWS\SYSTEM32\.
ScriptFullName Contains the full name and path of the script that??™s running.
ScriptName Provides just the script name.
Version Returns the WSH Version number.
Remember that all of these properties tell you about the WScript object. You can also use methods
to perform tasks with the WScript object. The following list provides a brief overview of the
more important methods you??™ll use with the WScript object. Note that most of these methods
require you pass one or more parameters as input.


Pages:
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458
Respirator ipod Torby podrózne Pojemniki na narzędzia tworzenie oprogramowania