How to scan all the files and folders in the harddisk through c and obtain the result with their path in a file?

C:\Documents and Settings\scott.SCOTTIE>cd \
C:\>dir /s > allFiles.txt
C:\>

Without the prompt:

cd \
dir /s > allFiles.txt
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.