rt-clk PRINT DIRECTORY LISTING doesn't give me options I want

Page 1 of 2 12 LastLast

  1. Posts : 47
    Win 7 Pro 64-bit
       #1

    rt-clk PRINT DIRECTORY LISTING doesn't give me options I want


    Back in DOS days, I would redirect DIR>LPT1, etc., as often as wished. But we could not do anthing about size of font, etc.
    The right-click PRINT DIRECTORY LISTING that I now have added to my Windows Explorer simply prints directly to my default printer without my having any formatting control. It looks like, and is, the same I would get by the old DOS command line. But the font is much too large, giving me only 37 lines per page (pages 2 et sec., fewer on page 1). Also, I am not given the chance to specify duplex printing, or choose my printer. If I could print to PDF, using any of several utilities I have, I could do some kind of image manipulation to shrink the images, but is not what I want, because it would add otherwise unneeded steps. I could perhaps set my default printer to one of my PDF writers, print to a file, then use one of my OCR utilities to convert to TXT, and then manipulate the text on one of my word processors, etc.

    Maybe there are better "print directory listing" options out there. Tell me about them, please.
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #2

    I don't know where I got this from:

    You can setup a QUASI GUI method as follows.

    Create a batch file with the following content:

    dir /a /-p /o:gen >"%homepath%\desktop\filelisting.txt"
    notepad "%homepath%\desktop\filelisting.txt"
    del "%homepath%\desktop\filelisting.txt
    "

    Open Windows Explorer, click Tools, then click Folder Options.
    Click the File Types tab, and then click on (None) Folder.
    Click the Advanced button and then click New to open the New Action window.

    In the Action box, type Create File List.
    Browse to the location where the .bat file you created is located, select it and it will be the Application Used to Perform Action.
    Click OK as needed to finish.

    Now open Windows Explorer. Right click on a folder you want the contents of and select Create File List.

    Poof, the list appears in Notepad. You can edit it or print it or whatever, but if you want to keep it you need to save it under a different name as the batch file deletes it when you close Notepad.
    Since it opens the output in Notepad you can change font sizes, save it and open with another editor or word processor and do whatever you want with it.
      My Computer


  3. Posts : 47
    Win 7 Pro 64-bit
    Thread Starter
       #3

    I have Win7 Pro 64 sp1
    When I go Folder Options, I see the window that is attached. I must be ignorant of how to select File Types.

    I am stuck until I can move on with the batch file you cited.
    rt-clk PRINT DIRECTORY LISTING doesn't give me options I want Attached Files
      My Computer


  4. Posts : 47
    Win 7 Pro 64-bit
    Thread Starter
       #4

    As it happens, I have just Googled on "File Types" and it seems that this functionality disappeared since XP; not present in Vista or Win7.

    Where do we go from here?
      My Computer


  5. Posts : 1,030
    Linux Mint / XP / Win7 Home, Pro, Ultimate / Win8.1 / Win10
       #5

    I have used Karen's Directory Printer for years:

    Karen's Directory Printer

    Regards,
    GEWB
      My Computer


  6. Posts : 47
    Win 7 Pro 64-bit
    Thread Starter
       #6

    Karen's lister


    I tried it. I found that the last line of my listings on each page ran off the bottom edge, and info on the right the same. For my printer, I guess that I need more margin control for the lister, or I just don't know how to use it properly.
      My Computer


  7. Posts : 6,285
    Windows 10 Pro X64
       #7

    My bad, those instructions were written for XP/ On Windows 7 I did this using a program called ContextEdit from PC Magazine. You just scroll down to Folder and add a new right click entry as I described above or manually add it to the registry as follows:

    Open regedit and navigate to HKEY_CLASSES_ROOT\Folder\shell.
    Right click on shell and create a new Key called genfilelist
    Under that create a new Key called command
    Select command then double click on the Default entry in the right pane to edit it. In the Value data field add the following, replacing it with the path to the batch file you created:

    d:\tools\GenFileList.bat %1

    Note: Corrected the link to point to the free version 1.2 at Softpedia.com (thanks derekimo).
    Last edited by Ztruker; 12 Aug 2012 at 20:29.
      My Computer


  8. Posts : 47
    Win 7 Pro 64-bit
    Thread Starter
       #8

    $8 is not too much to pay for a good utility. However, the PC Mag screen shows compatibility with legacy OSs, even pre XP. Certainly not Win7. And, it seems to be dated back to Jan/Feb 2001. Are we certain that it is compatible with Win7?

    I have never done a regedit directly. If you know for sure that ContextEdit works OK with Win7, could you post baby step instructions starting with the downloading of ContextEdit from the PC Mag site?
      My Computer


  9. Posts : 17,322
    Win 10 Pro x64
       #9
      My Computer


  10. Posts : 6,285
    Windows 10 Pro X64
       #10

    Yes, the PCMag ContextEdit works on Windows 7. I've used it as I mentioned.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:43.
Find Us