3
I have the scenario with the following directories in alphabetical order:
Y:\imagens\A001\B001\imagem.jpg
Y:\imagens\A001\B002\imagem.jpg
Y:\imagens\A002\B001\imagem.jpg
Y:\imagens\A002\B002\imagem.jpg
Y:\imagens\A003\B001\imagem.jpg
Y:\imagens\A003\B002\imagem.jpg
Y:\imagens\A004\B001\imagem.jpg
Y:\imagens\A004\B002\imagem.jpg
I am using the following command to list all files recursively and throwing the output into a file:
dir "Y:\imagens" /a-d /b /s > arquivo_de_saida.txt
It turns out that my command stopped listing the files when it was almost over and I don’t want to start all over again as it is millions of files.
I want to list only the directories after "A002".
without searching if there really is a solution for this... rename A001 and A002 to xA001 and xA002, and wheel
dir "Y:\imagens\A*" /a-d /b /s > arquivo_de_saida2.txt
– Rovann Linhalis
Thanks @Rovannlinhalis ... But it’s still impossible for me because there are 5000 directories but there are 2000.
– Diego
A002 including or only starting from A003...?
– Ricardo Bohner
Wow, just now I saw that question was asked almost 4 years ago...
– Ricardo Bohner