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 (16 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 (17 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]

Tip: Run a free scan for common Windows errors ad

re: Question about 'Print Out a Directory Listing'
Monday, March 24, 2008 at 12:05 pm
Posted by MartinM (7549 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 (17 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 (7549 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 (17 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 (1338 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]

re: Question about 'Print Out a Directory Listing'
Wednesday, October 8, 2008 at 6:19 pm
Posted by Bill Rose (17 messages posted)

When I use this feature, I can't find the filelisting.txt file. Shouldn't it end up in the accessed folder? Sorry I'm late with this. Been busy.


On Friday, May 30, 2008 at 6:42 am, Charlie Hadden wrote:
>
>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]

re: Question about 'Print Out a Directory Listing'
Monday, December 15, 2008 at 1:15 am
Posted by William Logan (2 messages posted)

>I have tried to modify a couple of these tutorials in order to have the file list placed in a specific location and to pop up in notepad. The problem that I keep having is that the command box is still on screen behind notepad. Any ideas welcome. I am giving my registry exports:
>
>
>Windows Registry Editor Version 5.00
>
>[HKEY_CLASSES_ROOT\Directory\Background\shell\copylist]
>@="Create File List"
>
>[HKEY_CLASSES_ROOT\Directory\Background\shell\copylist\command]
>@="cmd /c \\\"dir /b /a /-p /o:g /o:n /o:gen > f:\\downloads\\filelist.txt | notepad \"f:\\downloads\\filelist.txt\"\""
>
>[HKEY_CLASSES_ROOT\Folder\shell\copylist]
>@="Create File list"
>
>[HKEY_CLASSES_ROOT\Folder\shell\copylist\command]
>@="cmd /c dir \"%1\" /b /a /-p /o:g /o:n /o:gen > f:\\downloads\\filelist.txt | notepad \"f:\\downloads\\filelist.txt\""
>
>
>Obviously this does not look exactly as it does in regedit.
>
>
>I right-clicked on HKEY_CLASSES_ROOT-Directory-Background-shell and created a new key "copylist" and giving it the value "Create File List". Under "copylist" I created another key called "command" with the value "cmd /c \"dir /b /a /-p /o:g /o:n /o:gen > f:\downloads\filelist.txt | notepad "f:\downloads\filelist.txt"" .
>
>
>Under HKEY_CLASSES_ROOT-Folder-shell I right-clicked and created a new key called "copylist" with the value "Create File List". Under this 'copylist' I created another key called "command" and gave it the value "cmd /c dir "%1" /b /a /-p /o:g /o:n /o:gen > f:\downloads\filelist.txt | notepad "f:\downloads\filelist.txt"".
>
>
>I am directing 'filelist' to be created in the folder 'F:\Downloads'.
>
>
>Like I said, I am only experimenting and if anyone knows what I am doing wrong (command box still open behind notepad) please let me know. Thanx.


On Wednesday, October 8, 2008 at 6:19 pm, Bill Rose wrote:
>When I use this feature, I can't find the filelisting.txt file. Shouldn't it end
>up in the accessed folder? Sorry I'm late with this. Been busy.
>
>
>

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Monday, December 15, 2008 at 5:20 am
Posted by Deb (1434 messages posted)

http://support.microsoft.com/kb/321379

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Tuesday, December 16, 2008 at 6:50 am
Posted by Deb (1434 messages posted)



http://www.winhelponline.com/articles/206/1/How-to-add-the-Print-Directory-feature-for-file-system-folders-in-Windows-Vista.html

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Wednesday, December 17, 2008 at 1:32 am
Posted by Deb (1434 messages posted)

Bill

I had this problem when I wanted to print out my MP3 files on my D Drive, after a 
lot of searching I found this:

dir c:\*.mp3 /s > music.txt

It works perfect, of course you'll have to change the text to what you want to print 
out...

Hope this helps you.

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Wednesday, December 17, 2008 at 5:16 am
Posted by Bill Rose (17 messages posted)

By George, Deb. I think you solved the problem. I download music (paid for) and need something to list recent mp3 files in a particular folder. Tanx!


On Wednesday, December 17, 2008 at 1:32 am, Deb wrote:
>Bill
>
>I had this problem when I wanted to print out my MP3 files on my D Drive, after a
>lot of searching I found this:
>
>dir c:\*.mp3 /s > music.txt
>
>It works perfect, of course you'll have to change the text to what you want to print
>out...
>
>Hope this helps you.

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Wednesday, December 17, 2008 at 5:44 am
Posted by Deb (1434 messages posted)

It's a god send to me, cos' my family are always wanting to know what music i've 
got and there's far too much of it to type it all out in word... in fact i've got 
well over a 100GB of MP3's, so now I just send them the text file...

Happy Christmas

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Friday, August 21, 2009 at 5:47 am
Posted by AllanIsKing (1 messages posted)

Try Directory Report http://www.file-utilities.com It prints directory name, size and MP3 tags DOS output is too basic

[Reply or follow-up to this message]

re: Question about 'Print Out a Directory Listing'
Tuesday, September 8, 2009 at 2:11 am
Posted by Ilbrujo (1 messages posted)

This looks perfect but only for subdirectories. This doesn't work on root directly or on a CD or DVD with folders. What I mean is I think the best thing is to have it on the right click menu ALWAYS (so it works on root units, CDs, DVDs, removable disks, etc...) and export the txt file always in the same and known place. Can you recheck and modify it properly? I made my own one (it was so simple!!!) a lot ago but I lost it and I never was able to repeat it... :(


On Friday, May 30, 2008 at 6:42 am, Charlie Hadden wrote:
>
>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]

re: Question about 'Print Out a Directory Listing'
Thursday, September 24, 2009 at 3:05 am
Posted by Adam jean (3 messages posted)

Here is another tool same to print the directory listing, I use it on my windows, directory treeview tool called print directory not a freeware but affortable.

[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-2012 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.