| Login

Search this Blog

Here are the most recent postings to this blog. Use the archive calendar or search to find other entries.
Oct29

Written by:R Teachout
10/29/2009 10:07 AM 

Be able to Right Click on any directory, and make a "filelist.txt" file for that directory.  So simple, I do not know why this hasn't always been around!

Get a directory listing of all files in a directory and automatically output it to a txt file.

One of my co-workers found this online (somewhere, he can't remember) so I had to blog it for my own reference.. if you know where this was originally found, please share, I'll update the article with the link!!!  GOOD FIND!

Save the following one line to a batch file in C:\Windows\    (named like makefilelisting.bat)
dir /a /b /-p /o:gen >filelisting.txt
 
 
To make a menu item in Explorer:
 
Tools > Folder Options > File Types
 
Select "Folder" and click "Advanced" and then "New"
 
For "Action," provide the text that will show up as the option in Explorer (Something Like: "Create File List")

For "Application Used to Perform Action," browse to the batch file (C:\windows\makefilelisting.bat)

Voila!

Now, just right click on any folder, and you'll get the new option "Create File List".  When you click it, you'll get a new text file named "filelisting.txt" in that directory.

Enjoy!!

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment  Cancel 

It's Suprising how much you can get done. - If you don't care who gets the credit.
-Harold Warp

Inspired by Nina