Generate File Lists

  • Thread starter Thread starter Keith
  • Start date Start date
K

Keith

Is there any way to generate a file list (freeware would be great but
commercial software considered) from a windows folder?

What I want is a list of all files in a specific folder and all subfolders
in a CSV or similar format - ie:

folder, sub-folder, filename

Is this possible?

Thanks
 
Don't know of a free/shareware piece off hand, but it should be possible
(with a little work from you) to get this.
Open up a command prompt and type:

dir <your folderpath> /s/e > folderlist.txt

fire up excel and open folderlist.txt
You'll get a wizard that tries to put your folderlist.txt data into seperate
columns.
Finish the wizard and sort your data, for easy removal of unwanted rows (and
possibly columns).
save the file in CSV format.
Maybe percieved as 'clumbsy' but it will get you what you want.
:-))
Odo
 
Attached is a VBScript that generate the shell properties (what you see or could see in Explorer). It is a 51 column csv. There is about 40 properties on a standard XP and I've allowed about 10 columns for custom properties that applications may add. Those whove seen it before this one automatically finds the desktop rather than editing the script. To use, drop a folder on it or place in Sendto and send a folder to it.

To do sub folders type in a command prompt in the folder that you want to start in (It also does the parent folder - a quirk of For)
for /r %A in (.) do start "" /w "PrintDetailsAppend" "%~dpA"
 
You have to run it once where ever you put it so it registers it's location.

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

Attached is a VBScript that generate the shell properties (what you see or could see in Explorer). It is a 51 column csv. There is about 40 properties on a standard XP and I've allowed about 10 columns for custom properties that applications may add. Those whove seen it before this one automatically finds the desktop rather than editing the script. To use, drop a folder on it or place in Sendto and send a folder to it.

To do sub folders type in a command prompt in the folder that you want to start in (It also does the parent folder - a quirk of For)
for /r %A in (.) do start "" /w "PrintDetailsAppend" "%~dpA"
 
Thanks Wesley :) The Boss has another method (slightly diff query). Pls see:

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

The Parasite Fight:
http://aumha.org/a/parasite.php


This will print or can be saved as a Notepad *.txt file.

Add a "Print Directory" Feature for Folders in Windows XP
http://www.mvps.org/sramesh2k/PrintDirectory.htm

This is FREE and kool. Thanks Ramesh. :-) I use it.

Ramesh has done all the for you from >>
HOW TO: Add a "Print Directory" Feature for Folders in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;321379
 
Umm.. Was late by 12min. Just posted this:

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

The Parasite Fight:
http://aumha.org/a/parasite.php


Attached is a VBScript that generate the shell properties (what you see or could see in Explorer). It is a 51 column csv. There is about 40 properties on a standard XP and I've allowed about 10 columns for custom properties that applications may add. Those whove seen it before this one automatically finds the desktop rather than editing the script. To use, drop a folder on it or place in Sendto and send a folder to it.

To do sub folders type in a command prompt in the folder that you want to start in (It also does the parent folder - a quirk of For)
for /r %A in (.) do start "" /w "PrintDetailsAppend" "%~dpA"
 
Been upgraded, see below.

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

Thanks Wesley :) The Boss has another method (slightly diff query). Pls see:

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

The Parasite Fight:
http://aumha.org/a/parasite.php


This will print or can be saved as a Notepad *.txt file.

Add a "Print Directory" Feature for Folders in Windows XP
http://www.mvps.org/sramesh2k/PrintDirectory.htm

This is FREE and kool. Thanks Ramesh. :-) I use it.

Ramesh has done all the for you from >>
HOW TO: Add a "Print Directory" Feature for Folders in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;321379
 
Greetings --

You don't need any 3rd party utilities for this purpose; WinXP has
the capability built-in, if not well documented.

From the command prompt (Start > Run > Cmd.exe), simply change to
the desired directory and type "dir > filelist.txt" or "dir > lpt1,"
just as you 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


Bruce Chambers
--
Help us help you:



You can have peace. Or you can have freedom. Don't ever count on
having both at once. - RAH
 
Hi Ramesh,

I tried both of David's other methods. I like yours.

I do not use Excel and do not need all the extra columns.

I know, I'd bitch if I was hung with a new rope. ;-)
 
Back
Top