Windows 10

To empty temp folder:

Windows key + R

Type: %temp%

To view startup folder:

Windows key + R

Type: shell:startup

To print directory listing:

Hold down shift key as you right-click anywhere in the folder

In the contextual menu, select “Open PowerShell window here”

Type one of the following:

dir > printit.txt --- generates a list of all files, their permissions mode, their size, and their last write time

dir /b > printit.txt --- will print only the file names

dir /o:d > printit.txt --- will sort by date

dir *.png /o:d /s > printit.txt --- will list only *png files, sorted by date, and will include those found in the current folder's subfolders

dir /? --- will give a list of more options

Miscellaneous Tasks:

How to Speed Up a Windows Folder that Loads Very Slowly

How to Fix Slow Folders in Windows Explorer

Fix Windows folder unresponsive/slow behavior, green loading bar

Create a text file of the contents of a directory in Windows Explorer