Thanks for the input. I knew this one. I'm hoping that there is a way that a user might be able to handle this without having to go to the command line. Is there one?
Main Topics
Browse All TopicsHow do I print a list of the files I have in a folder?
I would like to print a list of the files I have in my home directory folder or any other folder.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I use a program called CoolFind to do this. You can search for almost anything and export to a comma delimited text file. You can find CoolFind at http://www.coolfilesearch.
This is an excellent program and is definitely a keeper!
Check this link out:
Printing Directory Listings from Windows File Manager
http://support.microsoft.c
You can download the MSDOS.EXE app. from :
http://www.powerload.fsnet
The file is included into an archive (MSEXE.EXE Microsoft Executive Shell (MSDOS.EXE) from Windows 2.0 & 3.0 42KB ).
Hope this will help, Chris.
If you want the file output in a more graphical output, you can replace the dir /s > files.txt with "tree /f /a > files.txt"
That will put them in a bit more graphical lineup for you. I'm not saying it's the best solution, but putting that in a batch file would get the task done, unless I'm just missing something.
Dave
Great! Glad to be of help and thank you for the extra points! If you plan on importing the comma delimited file into Access remember to change the the option for the number to bytes. Also, you might want to increase the number of searchable files to 10,000,000. Generally, though, it may give you problems after 900,000 files or so. Other than that, it works great.
Also, the support person is very accomodating and friendly.
Business Accounts
Answer for Membership
by: pelleti3Posted on 2002-11-18 at 09:10:10ID: 7464750
The simplest way I can think of would be to hit start and select run. Then to type in "cmd" without the quotes to open a command window.
At the prompt, you should navigate through the directories to the one you want a listing of using the CD command. Once at your desired folder, type "dir /s > files.txt" again, without the quotes. After a few seconds (minutes if there are a lot of files) this will list every file in the directory as well as every file in sub directories and save them all them all as a file named files.txt. Then you can open that file in notepad or any other editor and look at them and print them if you so desire.
Hope that's what you are looking for.
Dave