This tip was printed from the MalekTips Computer and Technology Help and Tips website at http://malektips.com.

DOS and Batch Files - List Every File on Your Hard Drive

SUMMARY: Using CHKDSK to display all files on a hard drive.

To list every file on your hard drive, you could pull out some combinations with DIR /S to show files in all subfolders, or you can just type in CHKDSK /V. Doing so will show every file on your hard disk, and at the end, will show you a report of the total disk space, total free space, and more.

Save this report to a text file for later viewing. Type in

CHKDSK /V > DISKREPORT.TXT


 


Press the "print" button on your browser or select "File" - "Print" to print this tip. Then, return to DOS and Batch Files - List Every File on Your Hard Drive
 
Standard disclaimer applies - read http://malektips.com/disclaim.html.