How can I get a list of files in a directory?

Linh Chi

New member
How can I get a list of files in a directory?
Answer
Open the command line at the folder of interest (see previous tip). Enter “dir” (without quotes) to list the files and folders contained in the folder. If you want to list the files in all the subfolders as well as the main folder, enter “dir /s” (without quotes) instead.
 

Tìm kiếm

Back
Top