Skip to content

Instantly share code, notes, and snippets.

@phantom42
Last active December 19, 2015 18:38
Show Gist options
  • Save phantom42/6000014 to your computer and use it in GitHub Desktop.
Save phantom42/6000014 to your computer and use it in GitHub Desktop.
command to export list of file names to a text file
dir /A:-D /N /S /B > filenames.txt
forfiles /S /C "cmd /c echo @path0x09@fsize0x09@fdate" > filenames.txt
for %f in (*.txt) do type "%f" >> combined.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment