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  |  Software Tips  | Sitemap

Format Windows XP  |  Digital Camera Tips  |  Computer Tip Archive  |  Videos  |  File and Disk management

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

 

Main Menu

Sitemap

Video Tutorials

PDF Articles

Free Computer Tip Archive

Tips4pc links page

Forum

 

Search the Internet

Main Categories

Computer Basics

Computer Terms

Networking Tips

Outlook Express Email

Software Tips

Digital Camera Tips

File and Disk management

Computer maintenance

Computer Troubleshooting

Windows XP Tips

Windows Vista Tips

Printer Tips

Software Tips

Ebay Tips

Webpage Help

 

Links

 

 

Partners

PC Tips

Remote Computer Support

Computer Tips and Tricks

Computer Repair

Fill Your Money Box

Windows Talk

 

Most Popular

Format your computer

Creating An Email Signature

Delete a partition

Add Network Printer

Scanner and Camera Wizard

Transfer photo's to your computer

Difference between TIFF, GIF, JPG, JPEG, PNG, and a BMP file?

Format Windows  XP

Check your Hard drive

DVD Shrink

Convert AVI to DVD

Format your spare hard drive

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

Network Connections icon

Organize your photos

Create a Sharing folder

Backup your files to DVD

 

 

   

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  Favourite links  |  Download Software  |  Privacy Policy

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

Get Tips4pc monthly newsletter! 543 members so far!