44. How to copy file names in a folder to a text file


How to copy file names in a folder to a text file.

Command

dir /b > filename.txt

1. Open command prompt
2. Navigate to the concern folder
3. Enter the command
4. Output will be saved in the filename.txt file.

Example