I need command line to list all files inside folder from many directories like :
C:\Program Files\folder1
D:\Data\folder2
I want to do it with single command line, is there a way to do it? Thanks for the help
I need command line to list all files inside folder from many directories like :
C:\Program Files\folder1
D:\Data\folder2
I want to do it with single command line, is there a way to do it? Thanks for the help
The below post gives the solution for your scenario.
dir /s /b /o:gn
/S Displays files in specified directory and all subdirectories.
/B Uses bare format (no heading information or summary).
/O List by files in sorted order.
Thanks to this post.