||Printing Directory Listings|
|Subject:||Output Directory contents to a txt file|
I foloowed the steps above, but I didn't want to have a hardcopy, I wanted to copy & paste the list into an excel file.
I modified the script to be:
dir %1 /b /-p /o:gn > "c:\Listing.txt"
start /w notepad "c:\Listing.txt"