CarlInDaHouse
01-14-2003, 06:40 AM
I am trying to write a script that will allow me to check a CDRW drive to see if any files exist. I tried this already
Set myFolder = fso.GetFolder("Y:")
WScript.Echo(myFolder.Files.Count)
I get an error saying "No more files". Is there another way to test for files when the might or might not be files on the disk. I wont know the filenames directly.
Set myFolder = fso.GetFolder("Y:")
WScript.Echo(myFolder.Files.Count)
I get an error saying "No more files". Is there another way to test for files when the might or might not be files on the disk. I wont know the filenames directly.