Hello:
There used to be a program called XTREE Gold that allowed the user to select a directory, and then provide the filename, date created or updated, for all the files in that directory and then the files in the subdirectory of that directory.
After reviewing the complexities of the DIR command, I'm reaching out to the experts.
For example, I have a directory as shown below:
C:\Users\RichLocus\Documents\LogicwurksClients\MeridianSoftware\
Within Meridian Software there are multiple sub-directories that themselves have subdirectories.
How can I get a listing of every file in that tree, that includes the filename and the last update date?
Thanks in advance
Rich Locus
How To Create A File Listing That Includes SubDirectories
-
- 2StarLounger
- Posts: 168
- Joined: 03 Oct 2015, 00:30
-
- Microsoft MVP
- Posts: 1320
- Joined: 24 May 2013, 15:33
- Location: Warminster, PA
Re: How To Create A File Listing That Includes SubDirectories
In a command window (run cmd.exe), execute the DIR command with the path of the starting folder, then a space, and then the switch /s. You can add or omit other switches to customize the output.
If you want to redirect the output to a file, add the > operator followed by the path and name of the output file.
If you want to redirect the output to a file, add the > operator followed by the path and name of the output file.
-
- GoldLounger
- Posts: 2599
- Joined: 24 Jan 2010, 15:26
- Location: Olympia, WA
Re: How To Create A File Listing That Includes SubDirectories
Or even go to https://www.karenware.com/karens-power- ... or-windows
And download and install Directory Printer.
Also note that there a several other programs there that just may be useful!
And download and install Directory Printer.
Also note that there a several other programs there that just may be useful!
I am so far behind, I think I am First
Genealogy....confusing the dead and annoying the living
Genealogy....confusing the dead and annoying the living
-
- 2StarLounger
- Posts: 168
- Joined: 03 Oct 2015, 00:30
Re: How To Create A File Listing That Includes SubDirectories
Thanks to both of you! I will check out the options.
Best,
Rich Locus
Best,
Rich Locus
-
- SilverLounger
- Posts: 2072
- Joined: 25 Jan 2010, 02:12
Re: How To Create A File Listing That Includes SubDirectories
Check out the Get-ChildItem cmdlet in PowerShell. If you are new to PowerShell see [url=https://docs.microsoft.com/en-us/powershell[PowerShell Documentation[/url] for much more information.
Joe