Dear all,
I am currently running a batch file that examines a backup folder that is added to at the end of each previous day. Currently the batch file uses findstr to examine the original text file (created using the dir command) and filters out the previous days dates to a new text file.
However, at present, the final text file starts with the names of all folders within the backup folder, then the names of folders within these folders, then files within each of these folders:
Backup_folder - folder_1 - folder_A - file_1A
Backup_folder - folder_2 - folder_B - file_1B
Producing a text list =
folder_1
folder_2 etc
folder_A
folder_B etc
file_1A
file_1B etc
However, ideally what I would like is to have the folder names of folders directly contained within the backup folder and then the number of folders and number of files within each of these folders directly after each folder name . . .
Thanks in advance for any help!
batch file --> text file help
Moderator: DosItHelp