c:\first_folder\second_level1
c:\first_folder\second_level2
c:\first_folder\second_level3
and so on. In the second_level folders are files. I would like to get the names of those files and their folder names as well output into a file like the one attached.
I found this:
Code: Select all
dir /s > output.txt
name_of_file_without_extension,location_of_file_and_the_filename_with_extension
ie.
tombstone,\graveyard\tombstone.jpg