How to recursively list files in a directory

Quick reminder to myself – how to list files in a folder, and all subfolders. Useful if comparing the file contents of different sites.

dir d:\FolderPath /b /s /a:-D > results.txt

Advertisements
How to recursively list files in a directory

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s