| |||||||||
|
|
|
| Please check out some very simple Batch Files before trying this one.
How to create a list of filenames from a directory and send it to notepad to save or print
@echo
Dumping directory listing to c:\dirListing.txt |
Name the file as Listdir.bat
Save it in C:\Documents and Settings\Your username\SendTo. (see note)
Now if you wanted to list the files in My music, right click on the folder
Choose send to from the menu, then choose your file Listdir.bat
Notepad will open with all the files in My music folder listed
Now you can save or print this file.
To get this script to work on Windows Vista see this post on the forum A batch file to make a directory list for Windows Vista-
Notes:
The send to folder may be hidden by Windows. Here's how to show hidden files.
Windows has no other way available to make a list of filenames that are in a directory or folder on your computer.
To print your list simply select print form the file menu at the top of notepad.
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.
| |||||||