However, you need to access it through the
WScript object like this: WScript.WshShell. The following list describes the WshShell methods.
CreateShortcut(strPathname) Creates a WSH shortcut object. strPathname contains the
location of the shortcut, which will be the Desktop in most cases.
DeleteEnvironmentVariable(strName [, strType]) Deletes the environment variable
specified by strName. The optional strType argument defines the type of environment variable
to delete. Typical values for strType include System, User, Volatile, and Process. The default
environment variable type is System.
GetEnvironmentVariable(strName [, strType]) Retrieves the environment variable
specified by strName. Default environment variables include NUMBER_OF_PROCESSORS, OS,
COMSPEC, HOMEDRIVE, HOMEPATH, PATH, PATHEXT, PROMPT, SYSTEMDRIVE, SYSTEMROOT, WINDIR,
TEMP, and TMP. The optional strType argument defines the type of environment variable to
delete. Typical values for strType include System, User, Volatile, and Process. The default
environment variable type is System.
Popup(strText [,intSeconds] [,strTitle] [,intType]) Displays a message dialog
box. The return value is an integer defining which button the user selected including the following
values: OK (1), Cancel (2), Abort (3), Retry (4), Ignore (5), Yes (6), No (7), Close (8), and Help
(9).
Pages:
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463