Skip to content

Instantly share code, notes, and snippets.

@melvinstanly
Created August 16, 2023 13:01
Show Gist options
  • Save melvinstanly/db28b8ca5ad04f55d2f958bd29b2cf21 to your computer and use it in GitHub Desktop.
Save melvinstanly/db28b8ca5ad04f55d2f958bd29b2cf21 to your computer and use it in GitHub Desktop.
Command to list all files in a folder as well as sub-folders in windows
1. Open cmd
2. Go to the directory for which you need the listings
3. Run tree /a /f > output.txt
A file will be created in the directory with the name output.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment