How do I copy all file names in a folder to notepad?


For example if you wanted to get an output of the following folder, C:\Users\{username}\Pictures\Summer Vacation

Navigate to that folder in Windows Explorer. Hold down the shift key and RIGHT click on Summer Vacation folder. You will see a new option called ‘Open command window here’. This way, you don’t have to type the full path in your dir command.

dir *.* > dir.txt /b /o

This entry was posted in time-savers. Bookmark the permalink.