The Count property provides the number of enumerated items.
WshEnvironment.Count = natNumberOfItems
WshEnvironment.length property
© 1997 by Microsoft Corporation. All rights reserved.