How can I print a folder directory?
Results 1 to 11 of 11

Thread: How can I print a folder directory?

  1. #1
    Registered User DrDave's Avatar
    Join Date
    Apr 2003
    Location
    Mickey Mouse town (Florida)
    Posts
    42

    How can I print a folder directory?

    This question has bugged me since I gave up DOS and got my first copy of Windows. From DOS you can print a list of all files in a folder (directory). Using all versions of Windows I only know how to use Alt-PrintScreen to copy a open window to the clipboard and paste it into some application that can print it.

    Are Windows methods or utility programs available to print folder directories?
    To be absolutely sure,
    you have to either know it all;
    or know nothing at all

  2. #2
    Banned Ya_know's Avatar
    Join Date
    Jun 2001
    Posts
    10,692
    Dir printing has always worked for me...

    http://www.majusoft.de/DirPrinting/index_en.htm

  3. #3
    Banned TripleRLtd's Avatar
    Join Date
    Aug 2003
    Location
    SW Florida...eye of the storm.
    Posts
    7,251
    Also, there are ways to hack the registry to do this, but the best I have found is a free download http://www.v-com.com/product/pd_free_trial.html
    After install go to File/Print/.

  4. #4
    Registered User silencio's Avatar
    Join Date
    Sep 2000
    Location
    Savannah
    Posts
    3,960
    dos still works

    c:\thefolder\dir > lpt1

    adding a /b will drop all the addributes and give you only the filename with no extention

    if you have no lpt1 (your printers attached by a share or usb) share the printer (in the case of usb, if it's already a share your golden)

    net use lpt1: \\server\laser01

    so,

    dir > lpt1 /b

    would print only the filenames (and other folder names) of a given folder to laser01
    Deliver me from Swedish furniture!

  5. #5
    Registered User Rellik's Avatar
    Join Date
    Jan 2001
    Location
    localhost
    Posts
    718
    Sometimes it's easier to dump to a text file first, especially if you are using a WinPrinter(which can be just as annoying as WinModems)

    Just open cmd.exe, navigate to the folder andrun this
    dir > dir.txt
    which will create dir.txt and then you can open it and print it in notepad.
    May the Schwartz be with you
    Too many zeros, not enough ones.

  6. #6
    Registered User DrDave's Avatar
    Join Date
    Apr 2003
    Location
    Mickey Mouse town (Florida)
    Posts
    42
    Quote Originally Posted by Rellik
    Just open cmd.exe, navigate to the folder andrun this
    dir > dir.txt
    which will create dir.txt and then you can open it and print it in notepad.
    Moving to a dumber question...or is it more dumb? Anyhow, I don't see cmd.exe on this Win98 machine. (My XP PC is at home) Can you tell me how to open and use cmd.exe? Thanks.
    To be absolutely sure,
    you have to either know it all;
    or know nothing at all

  7. #7
    Banned TripleRLtd's Avatar
    Join Date
    Aug 2003
    Location
    SW Florida...eye of the storm.
    Posts
    7,251
    Quote Originally Posted by DrDave
    Moving to a dumber question...or is it more dumb? Anyhow, I don't see cmd.exe on this Win98 machine. (My XP PC is at home) Can you tell me how to open and use cmd.exe? Thanks.
    Not dumb, just the ever changing world of Microsoft.
    Alright, is it F8 or Ctl, folder or directory?
    Anyway, Start-Programs-MSDOS Prompt for Win9x.

  8. #8
    Banned Ya_know's Avatar
    Join Date
    Jun 2001
    Posts
    10,692
    Quote Originally Posted by DrDave
    Moving to a dumber question...or is it more dumb? Anyhow, I don't see cmd.exe on this Win98 machine. (My XP PC is at home) Can you tell me how to open and use cmd.exe? Thanks.
    CMD.exe is a part of NT OS's, not 9x. Command.com is what you need...

  9. #9
    Registered User delmer_1's Avatar
    Join Date
    Feb 2001
    Location
    Altoona, PA, USA
    Posts
    748
    thanks..this is great. I just tried it and it took a few minutes to generate...i did it on the root of C: and used teh switches to display all subdirectories, and to remove the heading and summary, and it made a text file that was 7.6MB.

    very handy

    c:\>dir /s /b > dir.txt
    Some people are like Slinkies . . . not really good for anything, but you still can't help but smile when you see one tumble down the stairs

  10. #10
    Registered User Rellik's Avatar
    Join Date
    Jan 2001
    Location
    localhost
    Posts
    718
    Quote Originally Posted by DrDave
    Moving to a dumber question...or is it more dumb? Anyhow, I don't see cmd.exe on this Win98 machine. (My XP PC is at home) Can you tell me how to open and use cmd.exe? Thanks.
    Well, since this question was in the XP forum, I assumed that you meant XP, but anyway, command.com is for all win 9x versions and cmd.exe is for NT/2k/XP.

    sometimes it's easiar to do a start>run>cmd.exe or command.com than it is to navigate all through the programs menu for the command prompt icon.

    to make the command promt more accessable in XP for any folder, install the "open command window here" power toy
    May the Schwartz be with you
    Too many zeros, not enough ones.

  11. #11
    Registered User DrDave's Avatar
    Join Date
    Apr 2003
    Location
    Mickey Mouse town (Florida)
    Posts
    42
    Quote Originally Posted by Rellik
    Well, since this question was in the XP forum, I assumed that you meant XP, but anyway, command.com is for all win 9x versions and cmd.exe is for NT/2k/XP
    Since I use Win98 at work and XP at home I was not sure where to post the question. You covered all the bases for me - thanks.
    To be absolutely sure,
    you have to either know it all;
    or know nothing at all

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •