Import File List into Spreadsheet – Windows

Using the command line:

dir /a:-d /b >filelist.csv

dir lists directory contents

/a:-d  lists files with attribute is not a directory

/b  doesn’t show file details so only shows file name

>filelist.csv  outputs list to filelist.csv in the same directory

Then open with your favourite spreadsheet program.

Leave a Comment