Run(strCommand [, intWinType] [lWait]) Runs the command or application specified by
strCommand. You can include command line arguments and switches with the command string.
intWinType determines the type of window that the application starts in. You can force the script
to wait for the application to complete by setting lWait to True; otherwise, the script begins the
next line of execution immediately.
SetEnvironmentVariable(strName, strValue [, strType]) Sets the environment variable
named strName to the value specified by strValue. The optional strType argument defines the
type of environment variable to create. Typical values for strType include System, User, Volatile,
and Process. The default environment variable type is System.
Working with the WScript.WshNetwork Object
The WshNetwork object works with network objects such as drives and printers that the client
machine can access. This is an exposed WSH object, which means you can access it directly using
the WScript.WshNetwork object. The following list describes properties associated with this object.
ComputerName Returns a string containing the client computer name.
UserDomain Returns a string containing the user??™s domain name.
Pages:
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466