Printable Version of Topic

Click here to view this topic in its original format

nForums.net _ Software _ Windows Dir/File list printing

Posted by: phish Aug 17 2004, 02:29 AM

I want to print directory list and file list under Windows XP.
I found a simple tip with printdir.bat,
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit

This batch file sends the list to printer.
How can I modify to view the list with notepad?
After viewing with notepad, I may print from notepad menu.

Or any good simple utility you want to recommend?

Posted by: amourdevin Aug 17 2004, 03:10 AM

PowerDesk from Ontrack will do it but it's not free . . . it's a very good file manager though.

Posted by: Boss429 Aug 17 2004, 05:12 AM

check the switches with the notepad.. might be /o for open.

then you can choose to print in the notepad.

/p tells the file to print.

to view the switches for notepad.. you can seartch on line or

run with the commands notepad.exe /? or /help at a command prompt (ie MS-DOS prompt or equivalent)

Posted by: Parli Aug 17 2004, 12:45 PM

There is also a great program out there called WhereIsIt that will not only allow you to print folders and files but also generate html pages.

http://www.whereisit-soft.com/

Posted by: phish Aug 18 2004, 07:17 AM

Thank you.



QUOTE
check the switches with the notepad.. might be /o for open.


QUOTE
run with the commands notepad.exe /? or /help at a command prompt (ie MS-DOS prompt or equivalent)


It opens notepad, but also error message (syntax error) pops up.

Posted by: Messenger Aug 18 2004, 10:44 AM

QUOTE (Parli @ Aug 17 2004, 12:45 PM)
There is also a great program out there called WhereIsIt that will not only allow you to print folders and files but also generate html pages.

http://www.whereisit-soft.com/

See, this is why I love this place ... I was only just about to post a thread asking if anyone knew of a good program to catalogue CD contents, and here is my answer! thumbsupsmileyanim.gif biggrin.gif

I'm currently transferring a lot of my CD backups to DVDs and needed a way to catalogue the contents for easy lookup and retrieval ... searching Google gave me lots of "close but no cigar" solutions.
Thanks Parli! smile.gif

Posted by: DutchKid Aug 18 2004, 11:41 PM

Another option can be found here, easy app that also does scheduled listings. Also does HTML listings and MP3 details. It's called Phuzz Indexer.

http://www.phuzz.net/

Posted by: phish Aug 19 2004, 06:07 AM

QUOTE
http://www.whereisit-soft.com/

Cool! Thank you.

Thank you everybody who replied.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)