Follow us on Twitter!
The important thing is not to stop questioning. - Albert Einstein
Thursday, April 24, 2014
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Members Online
Total Online: 18
Guests Online: 16
Members Online: 2

Registered Members: 82905
Newest Member: BLckLIght
Latest Articles

Create File Listing For Folders On XP

Arrow Image This Tutorial Will Help You Make A Small Batch Program That Will List All Of Your Files In A Particular Folder And Put Them In A Text File.

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!


<span class="small">Submitted by BlackAce227 on December 03 2004 - 21:58:19</span>


Zephyr_Pureon October 12 2007 - 14:24:19
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.
Post Comment


You must have completed the challenge Basic 1 and have 100 points or more, to be able to post.