It may happen that you need a directory listing, that is a list of all the files in a folder. Unfortunately, there is no direct way to do this simple task in Windows.
Say you need to send a list of all the files found in a directory to a friend. You could take a screen-capture of the folder and send it to them. What if there are lots of files? You’d have multiple screen-captures and files will repeat in various captures. Not very elegant. So I’ll show you 3 methods to get a list of all files from a directory and save it as a text file.