I have this script that can print a directory to the printer. Problem is, it is in no particular order.
I put it into Excel, and it worked but didnt put them in individual cells, and the sorting was from the date, so all 01 dates were together, no matter what year!!
Is there a way to change the print command to print it in order either by date or by name?
Here is the file:
@echo off
dir %1 /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
exit
Thanks
I put it into Excel, and it worked but didnt put them in individual cells, and the sorting was from the date, so all 01 dates were together, no matter what year!!
Is there a way to change the print command to print it in order either by date or by name?
Here is the file:
@echo off
dir %1 /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
exit
Thanks