Command to get folder structure
- Sean O'Shea
- Aug 20, 2016
- 1 min read
If you want to get a list of all of the subfolders in one location on a drive you can use the Windows command TREE. This command followed by a file path will then list all of the files in the directroy.
TREE "C:\Users\SeanKOShea\Documents\PBWT\tips" /F "C:\Users\SeanKOShea\Documents\PBWT\tips" >list.txt
. . . will give you a full list of the files in the referenced directory.
Recent Posts
See AllWhen using robocopy command in Windows to copy files, note that if you are an admin you can use the /B switch to copy files from...