Microsoft Knowledge Base Article 318766 contains the following summary:

This step-by-step article describes how to use the Disk Summary Script tool ( to display information about folders and files on both local and remote Windows 2000-based computers.

The Disk Summary Script tool is available in Windows 2000 Resource Kit Supplement 1. You can use this script tool to display the following information about folders or files that reside on NTFS file system volumes of local or remote computers:

Size of files
Compression state of files or folders
Type of object (whether the object is a file or folder)
Number of files in a folder
Owner of the file or the folder
Location of the file or the folder