Output/export a list of files names

R

Richy

I want output a list of files names(file name and
directory)in a text format.

Explorer/search will give me the list of files (also DIR
in a DOS window), but how do I get that into a text format
that I can manipulate?
 
R

R. C. White

Hi, Richy.

In the "DOS" window, type DIR /? to see a list of possible switches.
Perhaps DIR /B is what you're looking for. You might also want to try the
TREE command. As you probably know, you can direct the output of these
commands to a text file with the > character: dir > direct.txt

Then there's this KB article:
HOW TO: Add a "Print Directory" Feature for Folders in Windows XP
http://support.microsoft.com/?kbid=321379

RC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top