List the contents of a zip file
Microsoft, Organization, Windows, zip January 3rd. 2008, 10:23amI post a lot of zip files on forums to trade information with my fellow gamers, programmers, internetards and what have you. As such, I like to tell them what the zip contains. Now the title of this post is a bit of a misnomer as I haven’t really created the zip yet… but I figured it would be just as helpful. The only extra step you would have in doing an actual zip file would be to extract the files to a folder but enough of the intro, lets dive in.
Step one: Have a folder with the files you want to list
![]()
(Whats with your image icons d00d? My images are associated with irfanview)
Step two: Open the Command prompt.
Do this by going to start -> Run… and typing in “cmd”

Step three: Navigate to your folder with “cd” (change directory) and list the files without any attributes using “dir /b”
Step four: Right click anywhere in the black and choose, “Mark“, this allows you to highlight the outputted text.
Highlight your filelist
When you right click again, the text is copied to your clipboard and you can paste it anywhere you’d like




















January 3rd, 2008 at 5:00 pm
Hey! I never thought of this before! -_-
Thanks for sharing this yo!
Cheers, mate.
P/S: What Wordpress plugin are you using for the “Bold”, “Italic”, “Quote”, “Code”, “Link”, “Tags close” and the “+ -” buttons in the comment box area aye?
January 3rd, 2008 at 6:17 pm
That’s actually part of this template
January 4th, 2008 at 12:14 am
Oh!
Okies, do you mind emailing me a copy of your comments.php file then? :p
January 7th, 2008 at 5:35 pm
A much simpler way ( especially if your directory has more than a screen full of filenames ) is to redirect the output of the dir command to a text file :-
dir /b > filelist.txt
This will create a file called filelist.txt in the current directory with your directory listing already inside, saving the need to cut and paste into notepad.