Subscribe to Tips4pc by Email

Home | Contact Us  |  Make Tips4PC your Homepage

Tips4pc Logo - Free Computer Help and Education

Computer Basics  Computer Terms  Networking Tips  |  Windows Vista Tips  Outlook Express Email  |  Sitemap

 

Computer Maintenance  Webpage Help  Windows XP Tips  |  Forum  Computer Troubleshooting  |  Ebay Tips

 

       

Google

Must See

 

Main Sitemap

Download (PDF) Articles

Free Computer Tip Archive

Free Computer Help Video Tutorials

Tips4pc Forum *new*

 

Main Categories

 

Digital Camera Tips *new*

File and Disk management

Computer Basics

Computer maintenance

Computer Troubleshooting

Windows XP Tips

Windows Vista Tips

Printer Tips

Software Tips

Outlook Express Email

Ebay Tips

Networking Tips

Webpage Help

Computer Upgrade *coming soon*

 

Sponsors

 

 

 

Partners

 

Remote Computer Support

Computer Tips and Tricks

 

Most Popular

 

Scanner and Camera Wizard

Transfer photo's to your computer

Format Windows  XP

Computer cleaning

DVD Shrink

Convert AVI to DVD

Add Network Printer

Printer and File sharing

Basic Computer Terminology

Quick Launch toolbar

Backup your Email Account Settings

Basics of inserting links

Check your Hard drive

 

 

 

   

How to create a list of filenames from a directory and send it to notepad to save or print

 

Free Computer Help By Mitz

 

Have you ever wanted to see a list of files or folders that are contained in a particular directory. I have. One day I decided that it would be great to have a list of the files from my music folder. But then I discovered that Windows does not have any tools to do this. So here is a fantastic, sneaky batch file that you can create to do the job for you. If you are not familiar with Batch files, you will be soon. Once you have made one, and see that it is successful, and working, they can become very addictive.

 

Please check out some very simple Batch Files before trying this one.

 

OK Lets Go!!!

  1. Paste this text below into notepad

 

@echo Dumping directory listing to c:\dirListing.txt
@echo        (This may take some time for large directory trees.)
@REM the /A switch lists all hidden and system files as well.
@REM the /S switch lists all subdirectories and their contents.
@dir %1 /A /S > c:\dirListing.txt
@echo Opening c:\dirListing.txt in Notepad (Close notepad to delete file)
@notepad c:\dirListing.txt
@echo Deleting c:\dirListing.txt
@del c:\dirListing.txt
@pause

 

  1. Name the file as Listdir.bat

  2. Save it in C:\Documents and Settings\Your username\SendTo. (see note)

  3. Now if you wanted to list the files in My music, right click on the folder

  4. Choose send to from the menu, then choose your file Listdir.bat

  5. Notepad will open with all the files in My music folder listed

  6. Now you can save or print this file.

Notes:

 

Browse Tips4pc for more Free Computer Help

 

About the Author

Mitz Pantic wrote this article and others for http://www.tips4pc.com  Browse Tips4pc.com for more articles that are written in an easy to understand interface and FREE computer help.

You can also visit her Australian Ebay store Fantastic Bits 24_7.

 

This article is free to re-produce providing that the author's bio is included and the website links are still clickable...

 

Home | About Us  |  Link to us  Contact Us  |  Favourite links  |  Download Software  |  Make Tips4PC your homepage  

All rights reserved. Copyright © 2007 Tips4PC.com
Free Computer Help
Revised: 18-Apr-2008.

Get Tips4pc monthly newsletter! 512 members so far!

ACD Systems - The makers of ACDSee 1 Photo Manager       Shop Sony Direct