top of page

Command to get folder structure

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.

bottom of page