Tips and Tricks About Computers, Web Development, Linux, the Internet and the Like
List the contents of a zip file
I 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

| Print article | This entry was posted by Tyler Mulligan on January 3, 2008 at 10:23 am, and is filed under Microsoft, Organization, Windows, zip. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
about 2 years ago
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?
about 2 years ago
That’s actually part of this template
about 2 years ago
Oh!
Okies, do you mind emailing me a copy of your comments.php file then? :p
about 2 years ago
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.