Create File Listing For Folders On XP
Create File Listing For Folders On XP
Create File Listings for Folders on XP
By BlackAce227
It is amazing how many programs and utilities are not included in Windows XP. Hopefully this small program will help you when you need to make a list of all of your pirated software MP3�s or whatever you may use it for. It is very simple to use and it integrates in to XP for easy use. You are about to make a context menu item that will copy all of the file listings in that folder and present them to you in a .txt file.
First off, we need to make the batch file that will copy the file listings. Open notepad and write dir /a /-p /o:gen >nameofyourfile.txt now save that as nameofyourfile.bat and make sure you save it with the encoding as ANSI. (Default I think).
Now that you have your .bat file made, save it into the C:\WINDOWS folder. Open your explorer now (start -> run -> explorer.exe) and go to tools ->folder options ->file types ->select the folder file type ->advanced. Then click on the new button. A window will pop-up and ask you for action and application used to perform action. The action textbox will be what you see when you right click your mouse. I labeled mine Create File Listing. On the Application used to perform action textbox. Click the browse button and find your nameofyourfile.bat and then click on ok.
You should now be able to create file listings for any folder you want. This is very helpful for me and I hope it is for you too. Hopefully someone from Microsoft will look at this sometime and include it in there next version. But sometimes you can ask for too much….ENJOY!
BLACKACE227
Submitted by BlackAce227 on December 03 2004 - 21:58:19
ghost 17 years ago
Well… it fit the title. Of course, I probably would've liked to see a more comprehensive article on batch scripting. Really, this article could've been one or two sentences.