Create a Notepad file listing items in any folder
There’s an easy way to create a list of all the files in any folder on your PC using Command Prompt or Powershell (depending on which Windows version you use). This method saves a list of all items within any folder as a Notepad file, which is useful if you’d like to see its contents at a glance.
Press the Shift button, right-click your chosen folder, then click ‘Open Powershell window here’ (in Windows 10 – see screenshot above) or ‘Open Command Prompt window here’ (Windows 7 and 8.1). Next, type dir > filename.txt (replacing ‘filename’ with the name you want to use for the Notepad file), then press Enter. Now close your Powershell or Command Prompt window and open your chosen folder. You’ll see a Notepad file with the name you gave it. Open this to see a list of all items in the folder, their size (in KBS) and the date and time you created them.