The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General MP3Car Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 11-11-2006, 06:03 PM   #1
Constant Bitrate
 
Join Date: Aug 2006
Location: Central PA
Posts: 183
Autorun + Thumbdrive = easy way to transfer music to your carputer

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 .
scotty562 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
carputer install: I dare you... Cat Monkey General MP3Car Discussion 42 01-27-2005 05:34 PM
Carputer and music start asci01 Newbie 6 06-20-2004 09:22 PM
how do you guys find enough music to sustain a carputer? aoLhaTer General MP3Car Discussion 44 03-09-2004 05:56 PM
How To transfer files to the carputer? thecar-puter General MP3Car Discussion 19 12-26-2003 06:33 AM


All times are GMT -5. The time now is 06:48 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics