Source: http://smallbusiness.chron.com/copy-list-files-windows-folder-excel-list-40032.html
Step 1
Press "Win-E" to open Windows Explorer and locate the folder for which you need a file list.
Step 2
Hold the "Shift" key, right-click the folder and select "Open Command Window Here."
Step 3
Type "dir /b > dirlist.txt" without quotes and press "Enter." This creates a list containing file names only. To include file sizes and dates, type "dir > dirlist.txt" instead. To also include files in sub-directories, type "dir /b /s > dirlist.txt" to create a list of files with the full directory structure name, such as "C:\folder\subdirectory\file.txt.
No comments:
Post a Comment