Jump to content

Printing only the NAMES of files in a folder


Recommended Posts

Guest Honest John
Posted

For example, I have a folder with 5 files in it, and I want to print the

NAMES of these five files but not the CONTENTS of each individual file. How

do I do that please? Thanks.

  • Replies 12
  • Created
  • Last Reply
Guest Gord Dibben
Posted

Re: Printing only the NAMES of files in a folder

 

Several methods to accomplish this.......I like Tushar's best if importing to

Excel.

 

To add a "Print Directory" feature to Explorer, go to

this KB Article.

 

http://support.microsoft.com/default.aspx?scid=KB;EN-US;q272623&

 

Or you can download Printfolder 1.2 from.....

 

http://no-nonsense-software.com/freeware/

 

I use PF 1.2 and find it to be more than adequate with custom

features.

 

OR Go to Command prompt and chdir to the folder with the files

Type DIR >MYFILES.TXT

 

All the above create a *.TXT file which can be opened in Notepad and printed.

 

One more method if you want to by-pass the *.TXT file and pull

directly to Excel is to use Tushar Mehta's Excel Add-in. This allows filtering

and sorting once you have the data in Excel.

 

http://www.tushar-mehta.com/ scroll down to Add-ins>Directory

Listing.

 

Download the ZIP file and un-zip to your Office\Library folder.

 

 

Gord Dibben MS Excel MVP

 

On Sat, 16 Feb 2008 17:29:00 -0800, Honest John <Honest

John@discussions.microsoft.com> wrote:

> For example, I have a folder with 5 files in it, and I want to print the

>NAMES of these five files but not the CONTENTS of each individual file. How

>do I do that please? Thanks.

Guest Shenan Stanley
Posted

Re: Printing only the NAMES of files in a folder

 

Honest John wrote:

> For example, I have a folder with 5 files in it, and I want to

> print the NAMES of these five files but not the CONTENTS of each

> individual file. How do I do that please? Thanks.

 

Gord Dibben wrote:

> Several methods to accomplish this.......I like Tushar's best if

> importing to Excel.

>

> To add a "Print Directory" feature to Explorer, go to

> this KB Article.

>

> http://support.microsoft.com/default.aspx?scid=KB;EN-US;q272623&

>

> Or you can download Printfolder 1.2 from.....

>

> http://no-nonsense-software.com/freeware/

>

> I use PF 1.2 and find it to be more than adequate with custom

> features.

>

> OR Go to Command prompt and chdir to the folder with the files

> Type DIR >MYFILES.TXT

>

> All the above create a *.TXT file which can be opened in Notepad

> and printed.

>

> One more method if you want to by-pass the *.TXT file and pull

> directly to Excel is to use Tushar Mehta's Excel Add-in. This

> allows filtering and sorting once you have the data in Excel.

>

> http://www.tushar-mehta.com/ scroll down to Add-ins>Directory

> Listing.

>

> Download the ZIP file and un-zip to your Office\Library folder.

 

For the "DIR" method, I think the OP would want:

 

dir /b > "%USERPROFILE%\Desktop\filename.txt"

 

The /b is bare format and the "%USERPROFILE%\Desktop\" part puts

"filename.txt" on their desktop for easy locating.

 

--

Shenan Stanley

MS-MVP

--

How To Ask Questions The Smart Way

http://www.catb.org/~esr/faqs/smart-questions.html

Guest Gord Dibben
Posted

Re: Printing only the NAMES of files in a folder

 

Thanks for the added info Shenan

 

Will save for later use if needed.

 

 

Gord

 

On Sat, 16 Feb 2008 21:51:48 -0600, "Shenan Stanley" <newshelper@gmail.com>

wrote:

>For the "DIR" method, I think the OP would want:

>

>dir /b > "%USERPROFILE%\Desktop\filename.txt"

>

>The /b is bare format and the "%USERPROFILE%\Desktop\" part puts

>"filename.txt" on their desktop for easy locating.

>

>--

>Shenan Stanley

> MS-MVP

Guest Honest John
Posted

Re: Printing only the NAMES of files in a folder

 

Gord, you are "The Man"! I'm sure one of those procedures will work for me.

Thank you, thank you!!!!

John

 

"Gord Dibben" wrote:

> Thanks for the added info Shenan

>

> Will save for later use if needed.

>

>

> Gord

>

> On Sat, 16 Feb 2008 21:51:48 -0600, "Shenan Stanley" <newshelper@gmail.com>

> wrote:

>

> >For the "DIR" method, I think the OP would want:

> >

> >dir /b > "%USERPROFILE%\Desktop\filename.txt"

> >

> >The /b is bare format and the "%USERPROFILE%\Desktop\" part puts

> >"filename.txt" on their desktop for easy locating.

> >

> >--

> >Shenan Stanley

> > MS-MVP

>

>

Guest Honest John
Posted

Re: Printing only the NAMES of files in a folder

 

Outstanding help, Shenan! Between you and Gord, I know I'll find a process

that works for me. Many, many thanks to you!!!! John

 

"Shenan Stanley" wrote:

> Honest John wrote:

> > For example, I have a folder with 5 files in it, and I want to

> > print the NAMES of these five files but not the CONTENTS of each

> > individual file. How do I do that please? Thanks.

>

> Gord Dibben wrote:

> > Several methods to accomplish this.......I like Tushar's best if

> > importing to Excel.

> >

> > To add a "Print Directory" feature to Explorer, go to

> > this KB Article.

> >

> > http://support.microsoft.com/default.aspx?scid=KB;EN-US;q272623&

> >

> > Or you can download Printfolder 1.2 from.....

> >

> > http://no-nonsense-software.com/freeware/

> >

> > I use PF 1.2 and find it to be more than adequate with custom

> > features.

> >

> > OR Go to Command prompt and chdir to the folder with the files

> > Type DIR >MYFILES.TXT

> >

> > All the above create a *.TXT file which can be opened in Notepad

> > and printed.

> >

> > One more method if you want to by-pass the *.TXT file and pull

> > directly to Excel is to use Tushar Mehta's Excel Add-in. This

> > allows filtering and sorting once you have the data in Excel.

> >

> > http://www.tushar-mehta.com/ scroll down to Add-ins>Directory

> > Listing.

> >

> > Download the ZIP file and un-zip to your Office\Library folder.

>

> For the "DIR" method, I think the OP would want:

>

> dir /b > "%USERPROFILE%\Desktop\filename.txt"

>

> The /b is bare format and the "%USERPROFILE%\Desktop\" part puts

> "filename.txt" on their desktop for easy locating.

>

> --

> Shenan Stanley

> MS-MVP

> --

> How To Ask Questions The Smart Way

> http://www.catb.org/~esr/faqs/smart-questions.html

>

>

>

Guest Uncle Grumpy
Posted

Re: Printing only the NAMES of files in a folder

 

Honest John <HonestJohn@discussions.microsoft.com> wrote:

>Outstanding help, Shenan! Between you and Gord, I know I'll find a process

>that works for me. Many, many thanks to you!!!! John

 

One more option: google "Karen's Power Tools" and look for "Directory

Printer" when you get there.

 

Simple and easy to use

Guest Bruce Chambers
Posted

Re: Printing only the NAMES of files in a folder

 

Honest John wrote:

> For example, I have a folder with 5 files in it, and I want to print the

> NAMES of these five files but not the CONTENTS of each individual file. How

> do I do that please? Thanks.

 

 

From the command prompt (Start > Run > Cmd.exe), simply change to

the desired directory and type "dir > filelist.txt" or "dir > lpt1,"

just as one used to do in DOS. Any of the switches for the DIR command

(type "dir /?") will work with this command, if you wish to modify the

output. You can then subsequently edit the resulting text file using

NotePad, WordPad, Word, etc.

 

Alternatively:

 

HOW TO Add a Print Directory Feature for Folders in Windows XP

http://support.microsoft.com/?kbid=321379

 

Directory Lister

http://www.krksoft.com/index.php

 

 

--

 

Bruce Chambers

 

Help us help you:

http://www.catb.org/~esr/faqs/smart-questions.html

 

http://support.microsoft.com/default.aspx/kb/555375

 

They that can give up essential liberty to obtain a little temporary

safety deserve neither liberty nor safety. ~Benjamin Franklin

 

Many people would rather die than think; in fact, most do. ~Bertrand Russell

 

The philosopher has never killed any priests, whereas the priest has

killed a great many philosophers.

~ Denis Diderot

  • 1 month later...
Guest Dangoo
Posted

Re: Printing only the NAMES of files in a folder

 

OR Go to Command prompt and chdir to the folder with the files

Type DIR >MYFILES.TXT

 

Please explain what chdir is. Thanks. I need to print the names of files

within folders, some of them have hundreds of names. Thanks. Dan

 

"Gord Dibben" wrote:

> Several methods to accomplish this.......I like Tushar's best if importing to

> Excel.

>

> To add a "Print Directory" feature to Explorer, go to

> this KB Article.

>

> http://support.microsoft.com/default.aspx?scid=KB;EN-US;q272623&

>

> Or you can download Printfolder 1.2 from.....

>

> http://no-nonsense-software.com/freeware/

>

> I use PF 1.2 and find it to be more than adequate with custom

> features.

>

> OR Go to Command prompt and chdir to the folder with the files

> Type DIR >MYFILES.TXT

>

> All the above create a *.TXT file which can be opened in Notepad and printed.

>

> One more method if you want to by-pass the *.TXT file and pull

> directly to Excel is to use Tushar Mehta's Excel Add-in. This allows filtering

> and sorting once you have the data in Excel.

>

> http://www.tushar-mehta.com/ scroll down to Add-ins>Directory

> Listing.

>

> Download the ZIP file and un-zip to your Office\Library folder.

>

>

> Gord Dibben MS Excel MVP

>

> On Sat, 16 Feb 2008 17:29:00 -0800, Honest John <Honest

> John@discussions.microsoft.com> wrote:

>

> > For example, I have a folder with 5 files in it, and I want to print the

> >NAMES of these five files but not the CONTENTS of each individual file. How

> >do I do that please? Thanks.

>

>

Guest Dangoo
Posted

Re: Printing only the NAMES of files in a folder

 

thank YOU, Uncle Grumpy. So simple!!!

 

"Uncle Grumpy" wrote:

> Honest John <HonestJohn@discussions.microsoft.com> wrote:

>

> >Outstanding help, Shenan! Between you and Gord, I know I'll find a process

> >that works for me. Many, many thanks to you!!!! John

>

> One more option: google "Karen's Power Tools" and look for "Directory

> Printer" when you get there.

>

> Simple and easy to use

>

Guest jameshanley39@yahoo.co.uk
Posted

Re: Printing only the NAMES of files in a folder

 

On 23 Mar, 16:31, Dangoo <Dan...@discussions.microsoft.com> wrote:

>> OR Go to Command prompt and chdir to the folder with the files

>> Type DIR >MYFILES.TXT

>

> Please explain what chdir is.  Thanks.  I need to print the names of files

> within folders, some of them have hundreds of names.  Thanks.  Dan

>

 

 

I think chdir is cd

 

you can open up a command prompt,

in xp, start..run..cmd<ENTER>

 

browse to whatever directory

cd \blah\bleh\bling

C:\blah\bleh\bling>dir /s/b

 

and you get a list.

 

the cd command moves from one directory to another. google it.

 

dir /s/b >file

 

will redirect the output to a file in the directory you are in, so you

don't see reams of results scrolling off your screen.

 

directory=folder. (directory is what they used to call it, and most

techies still do)

Guest George
Posted

Re: Printing only the NAMES of files in a folder

 

Dangoo wrote:

>>> For example, I have a folder with 5 files in it, and I want to print the

>>> NAMES of these five files but not the CONTENTS of each individual file. How

>>> do I do that please? Thanks.

 

Google "printfolder" and "printtree" and find dozens of printing applets.

Posted

Re: Printing only the NAMES of files in a folder

 

 

 

If you have ACDSee

 

Tools / create a file listing

 

Voila!

 

 

 

"Honest John" <Honest John@discussions.microsoft.com> wrote in message

news:BAC434E0-F60F-4308-A2E7-A890F4565FCC@microsoft.com...

> For example, I have a folder with 5 files in it, and I want to print the

> NAMES of these five files but not the CONTENTS of each individual file.

> How

> do I do that please? Thanks.


×
×
  • Create New...