Just thought I would share this in case anyone else could use this.
I used to use a command prompt and manually perform a DIR to get a nice list of contents in a folder for work. The KB above will allow you to do the same with 2 mouse clicks.
After following the instructions in the Microsoft KB article, when you right click a folder in Windows you will have a "Print Directory Contents" option.
By defeault the file goes to:
C:\Users\"USERNAME"\AppData\Local\Temp\listing - This can be changed in the .bat file settings
With no file extension. - A .txt file extension can be added in the .bat settings
You can edit the .bat file to specify an explicit location and file name.
"C:\Listing.txt" instead of "%temp%\Listing"
You can also change the parameters of the DIR. To get a list of options, open a CMD prompt and type:
Then change the parameters in the .bat file's "DIR" command with what you want.
I am not sure the purpose of the DEL command in the .bat. On my computer it deletes the listing file and doesn't keep it open. I have removed the DEL line in mine so I can save the listing file on my computer.
If you want it to display full paths of each file use /s /b together. Thist will also list the files in sub-directories.