Sign in with
Sign up | Sign in
Your question

Need to print directory listing to txt file

Last response: in Windows XP
Share
Anonymous
February 9, 2005 8:45:32 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

I need to Print a directory listing to a text (.txt) file so I can import it
into a spreadsheet for sorting, counting, etc. I have added the 'Print
Directory Listing' prin.bat file and can print directly to the printer.
Currently I scan/ocr the list and can import it that way but it seems as if
I should be able to eliminate a step. Any help would be greatly appreciated.
Donald
Anonymous
February 9, 2005 8:45:33 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

"Donald C. McNeilly" <dc.mcneilly@verizon.net> wrote in message
news:%23eI0PkvDFHA.936@TK2MSFTNGP12.phx.gbl...

>I need to Print a directory listing to a text (.txt) file so I
>can import it into a spreadsheet for sorting, counting, etc. I
>have added the 'Print Directory Listing' prin.bat file and can
>print directly to the printer. Currently I scan/ocr the list and
>can import it that way but it seems as if I should be able to
>eliminate a step. Any help would be greatly appreciated.


From a command prompt window, issue the command

dir \foldername > filename.txt


--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup
!