Annoyances.org
Home » Windows Vista Discussion Forum » Message 1206381976 » Entire Thread Search | Help | Home
  
Question about 'Print Out a Directory Listing'
Showing all messages in thread #1206381976
Windows Vista Annoyances Discussion Forum


The following are all of the messages in this thread (6 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
Question about 'Print Out a Directory Listing'
Monday, March 24, 2008 at 11:06 am
Posted by Bill Rose (15 messages posted)

Regardless of the directory selected, I get a printout of the Windows\System32 subdirectory. What am I missing?

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Monday, March 24, 2008 at 12:05 pm
Posted by MartinM (2707 messages posted)

What tool are you using ?

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Friday, March 28, 2008 at 12:41 pm
Posted by Bill Rose (15 messages posted)

I'm using a batch file with CD %1, similar to the PrintDir batch file in an Annoyances article from 2001. The theory is that if a folder is highlighted in Explorer, a right click selection of PrintDir results in a printout of the files in the folder. I'm assuming the %1 parameter is not recognized in Vista, as I'm getting a printout covering the system32 folder, regardless of the highlighted folder.

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Friday, March 28, 2008 at 1:15 pm
Posted by MartinM (2707 messages posted)

2001 probably pre-dates XP too, so unsurprising the batch file is struggling :-( Some thoughts here But Karen's Directory printer is maybe altogether an easier approach ? www.karenware.com

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Friday, March 28, 2008 at 4:52 pm
Posted by Bill Rose (15 messages posted)

Karenware's Print Directory doesn't show name of directory nor total size of files, like DOS does. The only solution I can come up with is to eliminate the CD %1 in the batch file, then copy it to the desired folder, and run it from there. That works, except the name of the batch file is included in the printout. Never mind the registry entry. Any more thoughts out there?

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Friday, May 30, 2008 at 6:42 am
Posted by Charlie Hadden (539 messages posted)

Vitsta and Xp lost the ability and Vista has to have a mod to correct this lack of 
features. I found the cure in Oreilly press for this.

You need to open Notepad and make a batch file with the following information EXACTLY! 
Then save it as Dirlisting.reg Save it using ANSI Text.

REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\filelisting]
@="Create File Listing"
[HKEY_CLASSES_ROOT\Directory\shell\filelisting\command]
@="cmd /c dir \"%L\" /a /-p /o:gen > filelisting.txt"


Double-click the fi le to import it into the Registry, and you’re ready to go.
To remove this entry, you need to delete the HKEY_CLASSES_ROOT\Directory\shell\fi 
lelisting key.
Running the Hack
That’s it! Congratulations. You’ve created a new item on the context menu that’s 
ready to go to
work. So, now that it’s there, what can you do with it?
Open up Windows Explorer. Navigate to whatever folder you want to use as the basis 
for the fi le list,
and right-click to open the context menu. Click the Create File Listing item (see 
Figure 3-10), and the
list will be generated and displayed at the bottom of the open Notepad window as 
fi lelisting.txt. A file will show up on your desk top with the dir listing you wanted 
that can be printed, modified, or what ever you want.

[Reply or follow-up to this message]

Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
Return to the Windows Vista Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.