Often, I find myself making new contacts, and throughout the discussion, we might be deciding to exchange music, attempting to listen to new genre of tunes and potentially discover something that I like. However it gets quite troublesome when the other party goes like “Hey tell me what you have in your music folder?” and I scratched my head, because it is near 80GB big, plus it’s no where near organized.

What I did is run a small batch file, which will generate a file containing the entire folder’s worth of music that I can send over to anyone so they can pick any files they want. To do this, it’s very simple.

Step 1: Create the script.

Open up Notepad, and paste the following lines into it:
@echo off
dir /s > list.txt

Save this file as listall.cmd (well that’s what I call them. Feel free to name yours killthepoorkitty.cmd if you want, as long as the extension ends in *.cmd).

Step 2: Copy this file into the root folder that you want to list the files in (this script will also list down the contents of the subfolders). For example, my music folder is located in D:\Music, so I shall put it in this folder.

Step 3: Double-click on this file. A command prompt window will open, and then go away. Once this is done, you’ll notice that there’s a new file called “list.txt” in the folder you run this script. This file contains the listing of the files in that folder, something like this:

There you have it! Oh and before I forgot, this is meant to work with Windows.

You can also download this file in case you’re too lazy to every copy and paste!