Im trying to create a txt file with the list of folders in a directory in the format:
[level1]/[level2]
I have managed this before but I have forgotten the commands and on the Microsoft site, I cant find the commands to remove the date and format it how I want on their either anymore.
Can anyone help?
I got as far as:
dir >a.txt /b
but that just shows [level1]. Need it to show level2 as well.
EDIT - I need to filter out all folders but ones with 2006 in the name.
[level1]/2006 [level2]
[level1]/[level2]
I have managed this before but I have forgotten the commands and on the Microsoft site, I cant find the commands to remove the date and format it how I want on their either anymore.
Can anyone help?
I got as far as:
dir >a.txt /b
but that just shows [level1]. Need it to show level2 as well.
EDIT - I need to filter out all folders but ones with 2006 in the name.
[level1]/2006 [level2]
Last edited: