Sign in with
Sign up | Sign in
Your question

Getting Print of file names in a dirctory.

Last response: in Windows XP
Share
Anonymous
August 11, 2004 6:32:46 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

Without using any commands on DOS mode, is it possible to print a list of
the files in a directory or put them inside a DOC or TEXT file ? Thanks.

Afshin.
August 11, 2004 8:15:02 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

I make not claims as to how successful you will be: however this is stright
of the MS website

How to add the Print Directory feature for folders in Windows XP

Important This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that
you understand how to restore the registry if a problem occurs. For
information about how to back up, restore, and edit the registry, click the
following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry

IN THIS TASK
SUMMARY

Create the Printdir.bat File
Create a New Action for File Folders
Edit the Registry
SUMMARY
This article describes how to add the Print Directory feature for folders in
Microsoft Windows XP. After you follow the steps that are listed in this
article, you can right-click a folder, and then click Print Directory Listing
to print a directory listing of the contents of a folder.

back to the top
Create the Printdir.bat file
To create the Printdir.bat file, follow these steps:
Click Start, click Run, type the following command, and then click OK:
notepad

Paste the following text into Notepad:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit

On the File menu, click Exit, and then click Yes to save the changes.
In the Save As dialog box, type the following text, and then click Save:
%windir%\Printdir.bat

back to the top
Create a new action for file folders
Click Start, click Control Panel (or, point to Settings, and then click
Control Panel), and then click Folder Options.
On the File Types tab, click File Folder.
Click Advanced, and then click New.
In the Action box, type:
Print Directory Listing

In the Application used to perform action box, type:
printdir.bat

Click OK.
Click OK, click OK, and then click Close.
back to the top
Edit the registry
Warning If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system. Microsoft
cannot guarantee that you can solve problems that result from using Registry
Editor incorrectly. Use Registry Editor at your own risk.

After you follow the steps in the previous sections, Search Companion may
start when you double-click a folder instead of the folder being opened. Or,
if you have associated other actions with file folders, those actions may be
performed instead.

To resolve this issue, follow these steps:
Start Registry Editor.
Locate the Default value under the following key in the registry:
HKEY_CLASSES_ROOT\Directory\shell

Click Modify on the Edit menu.
In the File data box, type:
none

Click OK.
Quit Registry Editor.

"A-DESIGN" wrote:

> Without using any commands on DOS mode, is it possible to print a list of
> the files in a directory or put them inside a DOC or TEXT file ? Thanks.
>
> Afshin.
>
>
>
>
Anonymous
August 11, 2004 11:39:24 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

"A-DESIGN" <afshinstock@hotmail.com> wrote in message
news:%23FES3q%23fEHA.3292@TK2MSFTNGP10.phx.gbl...
> Without using any commands on DOS mode, is it possible to print a list of
> the files in a directory or put them inside a DOC or TEXT file ? Thanks.
>
> Afshin.

Popular freeware solution.

http://www.karenware.com/powertools/ptdirprn.asp

--
D

I'm not an MVP a VIP nor do I have ESP.
I was just trying to help.
Please use your own best judgment before implementing any suggestions or
advice herein.
No warranty is expressed or implied.
Your mileage may vary.
See store for details. :) 

Remove shoes to E-mail.
Related resources
Anonymous
August 12, 2004 6:16:29 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

Archived info:

Open a command prompt (start/run cmd), go to the folder of choice.

Run "dir> file.txt". This will create a text file of the contents of the
folder that you can open in notepad for printing or saving.

If you wish to add the contents of the subdirectories, run "dir
<drive><folder> /s> file.txt".

You may find this useful:

HOW TO: Add "Print Directory" Feature for Folders in Windows XP [Q321379]
http://support.microsoft.com/?kbid=321379

If you head to google.com and search on "free directory printer", you will
also find many other useful tools.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Associate Expert - WindowsXP Expert Zone
www.microsoft.com/windowsxp/expertzone
Windows help - www.rickrogers.org


"A-DESIGN" <afshinstock@hotmail.com> wrote in message
news:%23FES3q%23fEHA.3292@TK2MSFTNGP10.phx.gbl...
> Without using any commands on DOS mode, is it possible to print a list of
> the files in a directory or put them inside a DOC or TEXT file ? Thanks.
>
> Afshin.
>
>
>
Anonymous
August 12, 2004 6:16:30 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

Thank you all.

"Touch Base" <animals@thezoo.com> wrote in message
news:o ttSmMCgEHA.592@TK2MSFTNGP11.phx.gbl...
> Archived info:
>
> Open a command prompt (start/run cmd), go to the folder of choice.
>
> Run "dir> file.txt". This will create a text file of the contents of the
> folder that you can open in notepad for printing or saving.
>
> If you wish to add the contents of the subdirectories, run "dir
> <drive><folder> /s> file.txt".
>
> You may find this useful:
>
> HOW TO: Add "Print Directory" Feature for Folders in Windows XP [Q321379]
> http://support.microsoft.com/?kbid=321379
>
> If you head to google.com and search on "free directory printer", you will
> also find many other useful tools.
>
> --
> Best of Luck,
>
> Rick Rogers, aka "Nutcase" - Microsoft MVP
> http://mvp.support.microsoft.com/
> Associate Expert - WindowsXP Expert Zone
> www.microsoft.com/windowsxp/expertzone
> Windows help - www.rickrogers.org
>
>
> "A-DESIGN" <afshinstock@hotmail.com> wrote in message
> news:%23FES3q%23fEHA.3292@TK2MSFTNGP10.phx.gbl...
>> Without using any commands on DOS mode, is it possible to print a list of
>> the files in a directory or put them inside a DOC or TEXT file ? Thanks.
>>
>> Afshin.
>>
>>
>>
>
>
Anonymous
August 20, 2004 6:36:42 PM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

Very important question.
Please if any one out there knows how; do not wait, send an answer.
Thanks
Anonymous
August 21, 2004 1:54:27 AM

Archived from groups: microsoft.public.windowsxp.customize (More info?)

I know how, but as you deleted the previous messages I don't have the context to answer.

--
----------------------------------------------------------
'Not happy John! Defending our democracy',
http://www.smh.com.au/articles/2004/06/29/1088392635123...

"Activo" <horizon_unlmtd@hotmail.com> wrote in message news:uXz%233nqhEHA.3664@TK2MSFTNGP11.phx.gbl...
> Very important question.
> Please if any one out there knows how; do not wait, send an answer.
> Thanks
>
>
!