Annoyances.org
Home » Windows 2000 Discussion Forum » Message 1166374799 Search | Help | Home
  
re: Question about 'Print Out a Directory Listing'
Sunday, December 17, 2006 at 8:59 am
Windows 2000 Annoyances Discussion Forum
Posted by Ken (1 messages posted)


I needed something like this to keep track of what soundfonts were great and which ones weren't...this worked like a dream, thanks a MILLION!! Kenny


On Friday, December 17, 2004 at 12:36 pm, GuidoZ wrote:
>Another way is through a small batch file I wrote. (I've also encorporated it into
>the Registry so it works from a right-click.) Following is both files - copy them
>to notepad, then save them as indicated. Move "list.bat" to the C:\WINDOWS\ directory,
>then double click "list.reg". (You will need to edit list.reg if your Windows directory
>is not C:\WINDOWS\.)
>
>---Copy everything below to Notepad, save as "list.bat"---
>@echo off
>dir /s %1 /-p /o:gn > "%temp%\Listing.txt"
>notepad "%temp%\Listing.txt"
>del "%temp%\Listing.txt"
>exit
>
>rem ---- TO PRINT ----
>rem @echo off
>rem dir %1 /-p /o:gn > "%temp%\Listing.txt"
>rem notepad /p "%temp%\Listing.txt"
>rem start /w notepad /p "%temp%\Listing.txt"
>rem del "%temp%\Listing.txt"
>rem exit
>rem ---- TO PRINT ----
>---Copy everything above to Notepad, save as "list.bat"---
>
>Now for the Registry file...
>
>---Copy everything below to Notepad, save as "list.reg"---
>Windows Registry Editor Version 5.00
>
>[HKEY_CLASSES_ROOT\Folder\shell\Folder_list_to_file\command]
>@="C:\\WINDOWS\\list.bat \"%1\""
>---Copy everything above to Notepad, save as "list.reg"---
>
>After you've done everything right, you should have two files:
> - list.bat
> - list.reg
>
>Again, first copy list.bat to your Windows folder. Then double-click list.reg to
>add it to teh right click. To use, simply right click any folder and select "Folder
>list to file". It will pop open Notepad with your directory listing, complete with
>full path, name, modified date and size. You should save it somewhere else if you'd
>like to keep it. After closing off Notepad, the batch file will delete the temporary
>file (listing.txt) it created. =)
>
>--
>Peace. ~G
>
>


Written in response to:
re: Question about 'Print Out a Directory Listing' (GuidoZ: Friday, December 17, 2004 at 12:36 pm)

There are presently no replies to this message.

All messages in this thread [show all]
-Question about 'Print Out a Directory Listing' (J. Michael Race: Mon, Aug 4, 2003, 12:35 pm)
*re: Question about 'Print Out a Directory Listing' (ThaiTu: Tue, Aug 5, 2003, 12:45 pm)
*Copy To Clipboard as Filename (Steve: Wed, Jul 21, 2004, 9:35 am)
-re: Question about 'Print Out a Directory Listing' (GuidoZ: Fri, Dec 17, 2004, 12:36 pm)
*re: Question about 'Print Out a Directory Listing' (Ken: Sun, Dec 17, 2006, 8:59 am)
Return to the Windows 2000 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.