Jump to content

Making list of files in folder


Recommended Posts

Guest Jim S
Posted

Second time I wanted to do this. I need to make a list of the files in a

folder. I did it the hard way last time by taking screen shots and saving

them. Is there a better way to create a list?

--

Jim, an engineer using Excel not wisely

  • Replies 9
  • Created
  • Last Reply
Guest db.·.. >
Posted

Re: Making list of files in folder

 

perhaps this will be

helpful for you:

 

http://support.microsoft.com/kb/321379/en-us

 

--

 

db·´¯`·...¸><)))º>

 

 

"Jim S" <JimS@discussions.microsoft.com> wrote in message

news:41CED155-0CAA-4A44-B7A1-ECDD2F002C89@microsoft.com...

> Second time I wanted to do this. I need to make a list of the files in a

> folder. I did it the hard way last time by taking screen shots and saving

> them. Is there a better way to create a list?

> --

> Jim, an engineer using Excel not wisely

Guest John John (MVP)
Posted

Re: Making list of files in folder

 

Use the DIR command at a Command Prompt and redirect the output to a

..txt file. Example:

 

dir >C:\test.txt

 

will redirect the output to the file test.txt at C:\ You can get

different sort order if you want, do DIR /? for help and available

switches.

 

John

 

Jim S wrote:

> Second time I wanted to do this. I need to make a list of the files in a

> folder. I did it the hard way last time by taking screen shots and saving

> them. Is there a better way to create a list?

Guest Big_Al
Posted

Re: Making list of files in folder

 

db.·.. ><))) ·>` .. . wrote:

> perhaps this will be

> helpful for you:

>

> http://support.microsoft.com/kb/321379/en-us

>

 

And make this simple on you the next time around. Edit the registry

and then Export that entry and save it for the next reload. With the

exported .reg file and the batch file together.

 

As a matter of fact, export the registry entry BEFORE you edit it, then

you'll have a turn on and a turn off set files to load/reload.

 

I've made one similar to this and a dozen other registry patches that I

keep in a folder for reloads.

Guest Gord Dibben
Posted

Re: Making list of files in 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 Thu, 10 Jul 2008 11:40:05 -0700, Jim S <JimS@discussions.microsoft.com>

wrote:

>Second time I wanted to do this. I need to make a list of the files in a

>folder. I did it the hard way last time by taking screen shots and saving

>them. Is there a better way to create a list?

Guest Ken Blake, MVP
Posted

Re: Making list of files in folder

 

On Thu, 10 Jul 2008 11:40:05 -0700, Jim S

<JimS@discussions.microsoft.com> wrote:

> Second time I wanted to do this. I need to make a list of the files in a

> folder. I did it the hard way last time by taking screen shots and saving

> them. Is there a better way to create a list?

 

 

Here are four ways:

 

1. Go to a command prompt and issue the command

 

dir [drive:folder] > c:\tempfilename (you can use any name and put it

in any folder you want)

 

Then open notepad, open tempfilename, and print it from there.

 

2. Write (for example in Notepad) a 1-line text file:

DIR %1 /O >LPT1:

 

Save it as "printdir.bat" in the "Send To" folder.

 

Then, to print list of files in any folder, right-click that folder

and select Send to | printdir.bat

 

To include subfolders, change the comand to DIR %1 /O/S >LPT1:

 

3. Go to

http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q321379 and

follow the instructions there.

 

4. Download and use any of the several freeware/shareware utilities

that can do this, such as the popular

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

 

--

Ken Blake, Microsoft MVP - Windows Desktop Experience

Please Reply to the Newsgroup

Guest Bruce Chambers
Posted

Re: Making list of files in folder

 

Jim S wrote:

> Second time I wanted to do this. I need to make a list of the files in a

> folder. I did it the hard way last time by taking screen shots and saving

> them. Is there a better way to create a list?

 

 

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

Posted

Re: Making list of files in folder

 

On Thu, 10 Jul 2008 19:47:08 -0600, Bruce Chambers

<bchambers@cable0ne.n3t> wrote:

>Jim S wrote:

>> Second time I wanted to do this. I need to make a list of the files in a

>> folder. I did it the hard way last time by taking screen shots and saving

>> them. Is there a better way to create a list?

>

>

> 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

 

Have a look at DirToText, freeware:

 

http://www.xmlssoftware.com/dtt_001.asp

 

Enjoy, Fred

Guest Phisherman
Posted

Re: Making list of files in folder

 

On Thu, 10 Jul 2008 11:40:05 -0700, Jim S

<JimS@discussions.microsoft.com> wrote:

>Second time I wanted to do this. I need to make a list of the files in a

>folder. I did it the hard way last time by taking screen shots and saving

>them. Is there a better way to create a list?

 

 

Here's what I do:

 

c:\dir >file.txt

  • 4 weeks later...
Guest Peter Jam
Posted

Re: Making list of files in folder

 

Doug,

I'll second that, Iv'e been a fan of karenware for years. Add karens

Replicator another great Free utility and you can handle the chores. I miss

seeing her monthly newsletters.

--

Peter Jam

Network System Administrator

Lorch Microwave Inc

 

 

 

"Doug Knox - [MS-MVP]" wrote:

> Print Directory by Karen Kenworthy is a personal favorite.

>

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

>

> --

> Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart

> Display\Security

> Win 95/98/Me/XP Tweaks and Fixes

> http://www.dougknox.com

> --------------------------------

> Per user Group Policy Restrictions for XP Home and XP Pro

> http://www.dougknox.com/xp/utils/xp_securityconsole.htm

> --------------------------------

> Please reply only to the newsgroup so all may benefit.

> Unsolicited e-mail is not answered.

>

> "Jim S" <JimS@discussions.microsoft.com> wrote in message

> news:41CED155-0CAA-4A44-B7A1-ECDD2F002C89@microsoft.com...

> > Second time I wanted to do this. I need to make a list of the files in a

> > folder. I did it the hard way last time by taking screen shots and saving

> > them. Is there a better way to create a list?

> > --

> > Jim, an engineer using Excel not wisely

>


×
×
  • Create New...