Today I was bored and wanted a way to easily add music to my laptop in my car. After thinking about it for a minute I decided a thumb drive that automatically ran a .bat file when inserted would be the best way to do this.
This is what I came up with:
http://www.snapfiles.com/get/usbautorun.html
This program will allow you to add the auto run functionality to USB thumb drives. Simply install this, put the shortcut in the startup folder (not sure if it's nessasary), and then create your autorun.inf (see about 3 lines down).
To create the autorun.inf make a text file and rename it to autorun.inf. The next step is to add this to the file:
[autorun]
open=music.bat <-- will be covered in a minute
label=Whatever you want (ex. music)
Save that. Put it on the root directory of your flash drive.
Next we need to create the file which will actually copy the music. To do that we'll create a batch file (I made a .txt file and renamed it to music.bat). Once you have the batch command right click on it and edit it. Inside the batch file paste this:
cls
echo copying music <-- brings up a box saying it's copying music
Xcopy H:\Music C:\Music /e /i /Y < -- Copies whatever is in my Music folder on my thumb drive to my laptop hard drive. the /Y command will automatically overwrite if the files already exist.
echo y | rmdir H:\Music /s /q <-- Deletes the Music folder on my thumb drive.
mkdir H:\Music <-- Creates the Music folder so I can add more music for next time!
The commands without my explanations are:
cls
echo copying music
Xcopy H:\Music C:\Music /e /i /Y
echo y | rmdir H:\Music /s /q
mkdir H:\Music
Save. Put in the root directory of your thumb drive.
Obviously the drives and paths need to be customized to your system. I hope this makes someones life a little easier

.