The command will create a list with the files and folders contained in the folder.Execute the following command: dir > listoffiles.txt.Open the command line in the folder of interest.
#COMMAND PROMPT FOR PC HOW TO#
How to create a text file listing of the files
How to List all the files in a folder using CMD
How to create a text file listing only certain types of files.How to create a text file listing of the files.How to Display Based on File Attributes.How to list specific file using wildcards.How to List all the files in a folder and subfolder using CMD.