I am using the following command to list all the files (with absolute path) other than the undesired folders.
Just a small problem , i don't want to list just directory name as listed in below first three entries.
C:\Listings\D1
C:\Listings\D2
C:\Listings\D3
How can i do that. Thanks
dir /S /B * | findstr /v /i UD
C:\Listings>dir /S /B * | findstr /v /i UD
C:\Listings\D1
C:\Listings\D2
C:\Listings\D3
C:\Listings\D1\d1_file.txt.txt
C:\Listings\D2\d2_file.txt.txt
C:\Listings\D3\d3_file.txt.txt