Windows command to list of all files on a specified drive.

cd\
dir *.* /s /b >c:\all.txt