Trying to get a TXT file with:
- Full filepath+filename
- File size
- Created date
I would like to be able to do this for a master directory, and have it do it automatically for all the subdirs.
If I do:
dir /s >Directory.txt
I get a nice list of files + File info, but not the file path.
Directory of B:\Master\Subdirectory 1
11/19/2022 22:04 <DIR> .
11/19/2022 22:04 <DIR> ..
03/10/2014 18:14 43,309,056 00000.MTM
03/10/2014 18:16 54,355,968 00001.MTM
03/10/2014 18:17 46,884,864 00002.MTM
Directory of B:\Master\Subdirectory 1\Double-Sub
11/19/2022 22:34 <DIR> .
11/19/2022 22:34 <DIR> ..
03/31/2014 02:10 5,157,601 S1710001.JPG
03/31/2014 02:10 5,170,611 S1710002.JPG
03/31/2014 03:07 5,023,670 S1710003.JPG
If I do
dir /s /b >PathList.txt
I get
B:\Master\Subdirectory 1\00000.MTM
B:\Master\Subdirectory 1\00001.MTM
B:\Master\Subdirectory 1\00002.MTM
B:\Master\Subdirectory 1\Double-Sub\S1710001.JPG
B:\Master\Subdirectory 1\Double-Sub\S1710002.JPG
B:\Master\Subdirectory 1\Double-Sub\S1710003.JPG
Without the file info.
What I'd like is:
03/10/2014 18:14 43,309,056 B:\Master\Subdirectory 1\00000.MTM
03/10/2014 18:16 54,355,968 B:\Master\Subdirectory 1\00001.MTM
03/10/2014 18:17 46,884,864 B:\Master\Subdirectory 1\00002.MTM
03/31/2014 02:10 5,157,601 B:\Master\Subdirectory 1\Double-Sub\S1710001.JPG
03/31/2014 02:10 5,170,611 B:\Master\Subdirectory 1\Double-Sub\S1710002.JPG
03/31/2014 03:07 5,023,670 B:\Master\Subdirectory 1\Double-Sub\S1710003.JPG
Anything in CMD, Win 11, or an app that can help?