Skip to content

Instantly share code, notes, and snippets.

@t3knoid
Created February 2, 2018 17:00
Show Gist options
  • Save t3knoid/781594d10cd9b2f5e2b470ddde0266d3 to your computer and use it in GitHub Desktop.
Save t3knoid/781594d10cd9b2f5e2b470ddde0266d3 to your computer and use it in GitHub Desktop.
Tip on how to get the directory output into Microsoft Excel
These are instructions on how to get DOS directory output into Microsoft Excel.
1. Pipe directory output to a file, dir /A-D > files.txt
2. Open the file into Notepad and copy the rows containing the file listing.
3. Open Microsoft Excel.
4. Open the Home menu and click on the Paste down arrow to show past options.
5. Select "Use Text Import Wizard."
From this point on, use the Text Import Wizard to import the text into Microsoft Excel. Defaults should be sufficient.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment