[This is preliminary documentation and subject to change.]
The WshEnvironment object is not exposed directly. For access to it, use the WshShell.Environment property.
| ProgID | N/A |
| Filename | WSHom.Ocx |
| CLSID | |
| IID |
The following table describes the properties associated with the WshEnvironment object.
| Property | Description |
| Item | Gets or sets the value of a specified environment variable. |
| Count | The number of enumerated items. |
| length | The number of enumerated items (JScript). |
The following table describes the method associated with the WshEnvironment object.
| Method | Description |
| Remove | Deletes a specified environment variable. |
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.