
it's work with windows NT not with Windows 95
This is a known problem on older versions (3.1 and earlier) of the scripting runtime library
(scrrun.dll).
Upgrade to the current version of WSH 2.0 and version 5.1 engines and scripting runtime library.
--
Michael Harris
MVP Scripting
in a vbscript i create an folder object and i use a .files.count to verify
if a directory is empty.
Launch from windows NT my script run perfectly. The property return the goob
number of files.
Run from windows 95 the property always return zero.
Is it a bug.