I didn't check, but I assume the /p in
start /w notepad /p "%temp%\Listing"
means "print the file". To check yourself, open a command prompt and type notepad /? to see the help listing all switches. If you remove it, my guess is the file will just open.
But why not use Karen's directory printer from
It's free and much more flexible? Far better than this very limited Microsoft suggestion.
Searching "How to add the print directory feature to Windows Explorer" leads to a tutorial (link below) on how to set up this feature. My problem is that selecting a folder it opens Notepad but doesn't allow you to edit the contents, it starts the printer immediately and starts printing. I would like to delete some file info including the dates and sizes of the file leaving only the name of the file to print.
My question: Is there a procedure that will allow NotePad to open and allow editing of the file listing and then select the Print function.
Many thanks for any assistance.