how to list all file names in a folder by cmd' code example
Example: cmd files in directory
Enter “dir” (without quotes) to list the files and folders contained in the folder.
Enter “dir” (without quotes) to list the files and folders contained in the folder.