static void testFSO(string dir) { FileSystemObject fso = new FileSystemObject(); Folder folder = fso.GetFolder(dir); long fileCount = 0; long dirCount = 0; long calls = 0; o("Testing FSO"); WalkDirectoryTree(folder, ref fileCount, ref dirCount, ref calls); o("testFSO completed. Files: " + fileCount + " Directories: " + dirCount + " Calls: " + calls); }