Friday, 24 October 2008
A quick tip for obtaining a list of files in sub folders and presenting the results in a list suitable for loading into programs like Excel:
dir "folderpath" /s /b /a-d >outputname.csv
This can also be combined with the find command to filter the results
dir "folderpath" /s /b /a-d |find "word" >outputname.csv
Multiple finds can be used to further refine the list:
dir "folderpath" /s /b /a-d |find "word1" | find "word2" >outputname.csv
These commands could be placed into a .cmd file then placed as a shortcut on the desktop.
Related
- Tip: Change case of text using a keyboard shortcut
- Add a shortcut icon (favicon) to your web site
- Sending email from a distribution list (group)
- Tip: Quickly rename a bunch of files in Windows Explorer
- Yes, I really really want to move my files please


