Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

09 Aug 2012   #1

Win 7 Pro 64-bit
 
 
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 System SpecsSystem Spec
.

09 Aug 2012   #2

Windows 8 Core X64
 
 

I don't know where I got this from:

Quote:
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 System SpecsSystem Spec
10 Aug 2012   #3

Win 7 Pro 64-bit
 
 

I have Windows 7 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.


Attached Files
File Type: pdf CreateFileList problem.pdf (315.7 KB, 5 views)
My System SpecsSystem Spec
.


10 Aug 2012   #4

Win 7 Pro 64-bit
 
 

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

Where do we go from here?
My System SpecsSystem Spec
10 Aug 2012   #5

32bit: XP, Win7 H.P. / 64bit: 2008R2, Win7 Pro, Ultimate / Several flavors of Linux
 
 

I have used Karen's Directory Printer for years:

Karen's Directory Printer

Regards,
GEWB
My System SpecsSystem Spec
10 Aug 2012   #6

Win 7 Pro 64-bit
 
 
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 System SpecsSystem Spec
10 Aug 2012   #7

Windows 8 Core X64
 
 

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).
My System SpecsSystem Spec
11 Aug 2012   #8

Win 7 Pro 64-bit
 
 

$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 Windows 7. And, it seems to be dated back to Jan/Feb 2001. Are we certain that it is compatible with Windows 7?

I have never done a regedit directly. If you know for sure that ContextEdit works OK with Windows 7, could you post baby step instructions starting with the downloading of ContextEdit from the PC Mag site?
My System SpecsSystem Spec
11 Aug 2012   #9

Microsoft Community Contributor Award Recipient

Windows 7 Pro 64 SP1
 
 

My System SpecsSystem Spec
11 Aug 2012   #10

Windows 8 Core X64
 
 

Yes, the PCMag ContextEdit works on Windows 7. I've used it as I mentioned.
My System SpecsSystem Spec
Reply

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




Thread Tools



Similar help and support threads for2: rt-clk PRINT DIRECTORY LISTING doesn't give me options I want
Thread Forum
XP print job doesn't print in Windows 7 server? Network & Sharing
Print FULL details of directory General Discussion
Can't print full contents of a directory. Software
Is there any way to give power options plan selection on timings. Performance & Maintenance
directory file listing goes blank General Discussion
Problems reading or listing certain files in Windows directory General Discussion
Perm. Folder options.. file listing/columns changes. General Discussion

Our Sites

Site Links

About Us

Find 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 04:44 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33