How To Print Out A List Of All Files In A Folder
In this simple tutorial, I´ll show you how to print out a list of files in a folder. There is plenty of shareware programs which can do this, but I think that the simplest way to do this is with using Command Promt ( cmd).
1. Go to Start, then click Run. In Run option type cmd and click OK.
2. After this will open cmd.exe ,find folder which you want to print out with cmd, If you do not know how to move through the directories using cmd, see this post: How to find directories with cmd.
3. When you find specified folder, with this command dir > list.txt, you´ll create text document with list of files.
Example:
I want to print list of all files in folder with path E:\movies
In cmd I´ll write E: and press enter , then write cd and with TAB find folder movies and press enter . Then write dir > list.txt In folder with path E:\movies I will find text document list. txt . Open that text document and print out. It looks like this
After this list.txt created in E:movies

Best of PC Hacks
- Best Free Antivirus Software
- Free Hacking Tools
- 42 Sites Where To Submit Your Tutorials
- Free Logo Generator
- How To Become The SYSTEM User In Windows XP
- Free Blackberry Software







Geoserv on Wed, 17th Dec 2008 12:30 am
STUMBLED!
Great tutorial, thanks for sharing.
Ivan on Wed, 17th Dec 2008 2:34 pm
Thanks
Tutorials Room on Thu, 1st Jan 2009 7:07 pm
Good Tutorial! It was chosen for the home page of http://www.tutorialsroom.com
Waiting for your next tutorial :)
midhunhk on Fri, 2nd Jan 2009 4:34 am
To get just the file names and not the details of the files, u can use this :
type in this at the prompt
dir /b > filelist.txt
dir is the list directories command
/b is the bare bones option which excludes all the additional information
> filelist.txt is the key here . instead of putting the output to the screen, it redirects to the filename specified after it
GMR on Tue, 3rd Feb 2009 3:56 am
This is the best! I’ve tried with .bat files registry issues, etc. This is so simple and works great!
Thanks Ivan!
sanjay on Sun, 22nd Feb 2009 6:32 am
thanks you so much budy……….
Sam on Fri, 3rd Apr 2009 3:41 am
How do you get it to filter out certain files for example, only show .avi files within the directory?
Ivan on Fri, 3rd Apr 2009 7:06 am
@Sam
To get just avi files , you can use this :
dir *.avi /b >filelist.txt
T.Sankarganesh on Fri, 10th Apr 2009 9:40 am
how to open the blocked web sites in my college?
T.Sankarganesh on Fri, 10th Apr 2009 9:43 am
in my college the tutorial how to crack windows Xp was not open it was blocked.how to open that tutorial?
sickley on Sun, 26th Apr 2009 7:04 pm
@Sankarganesh
the first step is to buy windows xp
the next step is to try to stop using blocked sites at your college
Shumaker212 on Tue, 2nd Feb 2010 11:36 am
Nice tutorial but it may take much time do this, what if we use a tool to Print Directory Listings, as i use a tool Called Print Directory.