Hi,
I need to get a list of files in several hundred folders. I need just the filename only.
If I try this:
I get all of the files, but also get the date, time, and file size.
If I try this:
I get all of the files, but the entire drive\folder\subfolder is included.
For example, I just want
D00000001.001
D00000002.001
But I get
c:\images\imageset1\D0000001.001
c:\images\imageset1\D0000002.001
Is there a way I can get just the list of images?
Thanks!
Brian
I need to get a list of files in several hundred folders. I need just the filename only.
If I try this:
Code:
dir /s D*.*
I get all of the files, but also get the date, time, and file size.
If I try this:
Code:
dir /s /b D*.*
I get all of the files, but the entire drive\folder\subfolder is included.
For example, I just want
D00000001.001
D00000002.001
But I get
c:\images\imageset1\D0000001.001
c:\images\imageset1\D0000002.001
Is there a way I can get just the list of images?
Thanks!
Brian