

Today I put together all the information needed to run a mobile Library from Apple iTunes on a USB stick or USB drive.今天,我放在一起所需要的所有信息,以运行一个流动图书馆,从苹果的iTunes在USB记忆棒或USB驱动器。 This method will run the entire iTunes application from the storage device, making it easy to manage iTunes libraries from a single location.这种方法将整个iTunes软件从存储设备,使其成为易于管理的iTunes图书馆从一个单一的位置。 I believe this is how iTunes should have be developed - as having a library specific for each computer is a frustrating way to enjoy your music.我相信这是如何的iTunes应该有发展-有一个具体的图书馆为每台计算机是一个令人沮丧的方式享受您的音乐。
What pushed me over the edge is my wife wanting to purchase music from iTunes at work and sync them up with the iTunes computer at home.是什么推我过去的优势是我的妻子要购买音乐从iTunes在工作和将它们同步与iTunes的电脑在家里。 Typically this is done by purchasing the music and downloading directly to the iPod, but she’sa CPA and travels from location to location for audits and doesn’t even use the same computer all the time - yet she loves her music.这通常是由购买和下载音乐直接到iPod ,但she'sa国泰航空及旅游地点为审计和甚至不使用同一台计算机,所有的时间-但她爱她的音乐。 The solution was to run iTunes from a USB flash drive to manage a single Library.解决的办法是运行的iTunes从一个USB闪存驱动器来管理一个单一的图书馆。
This tutorial includes installing iTunes on a flash drive, creating autorun files for auto-launching iTunes from the flash drive and how to set-up iTunes on different computers to run a music library from the single flash drive.本教程包括安装iTunes对闪存驱动器,自动运行,创造文件自动发射的iTunes从闪存驱动器,以及如何设立的iTunes在不同的计算机上运行的音乐资料库由单一闪存驱动器。 Of course this method also works for larger storage hard drives - basically anything that appears as a Mass Storage Device on your system.当然这种方法也为工程较大的存储硬盘驱动器-基本上任何显示为一个大容量存储设备在您的系统上。 If you are looking for a long term strategy for managing your iTunes music, I strongly recommend doing this process to an external hard drive that is, at least, 120GBs.如果您正在寻找一个长远的策略,管理您的iTunes音乐,我强烈建议做这个过程中,以外接式硬碟,就是,至少120gbs 。 So here we go:所以在这里,我们去:
Here is a quick summary so you know what we are getting into: 这里是一个快速简易程序,使你知道什么我们正在为:
- Create an autorun file for the USB drive创建一个自动运行的文件为USB驱动器
- Create a batch file to auto-launch iTunes from any computer创建一个批处理文件来自动发射的iTunes从任何一台计算机
- Install iTunes on the USB stick安装iTunes对USB随身碟
- Install iTunes on any computer to run from the USB drive安装iTunes在任何电脑上运行,从USB驱动器
It’s worth mentioning this does not get around the five license authorization for running iTunes purchased music, rather this is a method to manage your iTunes library from a single location for multiple computers. 它值得一提的,这并不让周围5许可授权运行的iTunes购买的音乐 , 而这是一个方法来管理您的iTunes资料库,从一个单一地点为多台计算机上。
Creating the Autorun file: 创造Autorun的文件:
The autorun file tells the host computer what you want to do when the USB device is plugged into the computer.自动运行文件告诉主机电脑是什么,你想做的事时, USB设备插入到计算机。 This step creates a single click auto-launch for iTunes.这一步会生成一个单一的按自动发射的iTunes 。
Open Notepad and type the following:打开记事本,并键入以下内容:
[autorun] [自动]
icon=\iTunes.ico图标= \ itunes.ico
open=iTunes_mobile.bat开放= itunes_mobile.bat
action=Mobile iTunes行动=移动的iTunes
label=Mobile iTunes标签=移动的iTunes
shell\open\command=iTunes_mobile.bat蚬壳\开放\命令= itunes_mobile.bat
shell\open=Mobile iTunes蚬壳\开放=移动的iTunes
Save the Notepad document as ‘ Autorun.inf ‘保存记事本文件作为' 的Autorun.inf '

If you want a cool looking icon than pay attention to the first line ‘ icon=\iTunes.ico ‘ and place your ico file in the root of the USB drive (如果您想要冷静看图标,比注重第一线' 图标= \ itunes.ico '的地方,您的文件在保险公司条例的根源, USB驱动器( get one here得到一个在这里 ). ) 。 If you don’t care, delete the line.如果你不小心,删除线。
Creating the Batch file: 创建批处理文件:
Next create the batch file needed to automatically run iTunes upon connection of the USB drive.明年创建批处理文件需要自动运行的iTunes后,连接USB驱动器。 Please note you need XP Service Pack 2 or Vista for the autorun feature to work.请注意,您需要XP Service Pack 2或Vista的AutoRun功能的工作。
Open Notepad and type the following:打开记事本,并键入以下内容:
set APPDATA=%~dp0Application Data设置应用程序数据= dp0application % 〜数据
if not exist “%~dp0Application Data” mkdir “%~dp0Application Dataset HOMEPATH=%~dp0Documents and Settings如果不存在“ % 〜 dp0application数据” mkdir “ % 〜 dp0application的DataSet homepath = % 〜 dp0documents和设置
if not exist “%~dp0Documents and Settings” mkdir “%~dp0Documents and Settingsset USERPROFILE=%~dp0如果不存在“ % 〜 dp0documents和设置” mkdir “ % 〜 dp0documents和settingsset下USERPROFILE = % 〜 dp0
set ALLUSERSPROFILE=%~dp0设置allusersprofile = % 〜 dp0
echo starting iTunes回声开始的iTunes
start \iTunes_programs\iTunes.exe开始\ itunes_programs \ itunes.exe
Save the file as ‘ iTunes_mobile.bat ‘将档案另存为' itunes_mobile.bat '
With these two files, the autorun file and the iTunes_mobile.bat file we are ready to move along to installation.与这两个文件,自动运行文件和itunes_mobile.bat档案,我们准备沿安装。
Installing iTunes: 安装iTunes :
Install iTunes (7 at the time of the post) to your PC as normal - not the USB drive!安装iTunes ( 7时的时间后)到您的PC作为正常的-而不是U SB驱动器! While iTunes is installing on your PC go over to the USB drive and create a folder named ‘ iTunes_Programs ‘而iTunes是安装在您的PC上走,以USB驱动器,并创建一个文件夹,名为' itunes_programs '

When the iTunes installation is complete on the PC copy EVERYTHING from ‘ c:/Program files/iTunes ‘ into the new folder of the USB drive ‘ iTunes_Programs ‘当iTunes的安装完成后在PC上复制从' c : /程序文件/ iTunes的 '带入新的文件夹, USB驱动器' itunes_programs '
Once this is complete create another folder on the USB drive ‘ iTunes_Installer ‘ Drag the iTunesSetup file into this folder.一旦这是完成创建另一个文件夹中USB驱动器' itunes_installer '拖曳itunessetup文件到这个文件夹。 We use this when installing iTunes on future computers.我们使用这个当安装iTunes对未来的计算机。

Now that we have iTunes on the PC and we have everything on the USB drive, run the iTunes_mobile.bat file.我们现在已iTunes的在PC上和我们有一切对USB驱动器,运行itunes_mobile.bat档案。 Here a screen will flash then disappear and iTunes will open with a blank library.在这里,萤幕会闪光,然后消失, iTunes会打开一个空白的图书馆。 During this process you will see some additional files and folders created on the USB drive.在这个过程中,您会看到一些额外的文件和文件夹上创建的USB驱动器。 This is good - everything worked as planned.这是一个好-一切工作按计划进行。 Now, everything should look like this after adding the autorun file, bat file and ico icon file along with running the iTunes_mobile.bat file:现在,一切都看起来应该像这样,这后,加入自动运行文件, bat文件和ICO图标文件,随着运行itunes_mobile.bat档案:

Loading your USB drive: 加载您的USB驱动器:
Your USB drive is now ready to accept content.您的USB驱动器现正准备接受的内容。 Drag-n-drop everything from the host computer under /My Documents/My Music/iTunes Music/ to the USB drive under /My Documents/My Music/iTunes/iTunes/iTunes Music/ *Your file path might be slightly different if you customized iTunes from a previous installation.拖曳的N -下降,一切从主机电脑下/我的文档/我的音乐/ iTunes音乐/ USB驱动器下/我的文档/我的音乐/ iTunes中/的iTunes / iTunes音乐/ *您的文件路径可能会略有不同,如果你定制的iTunes从先前的安装。 This process might take some time depending on the size of your library.这个过程可能需要一段时间的规模来定您的图书馆。
Once the copy process is complete run the iTunes_mobile.bat file again and everything will appear in it’s place.一旦复制过程完成后运行该文件再次itunes_mobile.bat都将出现在它的地方。 Simply double click the ‘ iTunes_mobile.bat ‘ file.只需双击' itunes_mobile.bat '文件。 If you are missing the song ratings on the USB drive, go back into the PC iTunes and run an ‘Export Library’ which creates an xml file.如果您是失踪的这首歌的评级USB驱动器,返回到电脑iTunes和运行一个'出口图书馆'创建一个XML文件。 In the USB drive iTunes run the ‘Import Library’ feature to read in the xml file - your ratings should be restored.在USB驱动器上运行的iTunes '导入库'功能来阅读,在XML文件-您的收视率应该恢复。
Checking the Autolaunch: 检查autolaunch :
At this point you probably haven’t disconnected the USB drive.在这一点上,您可能没有断开USB驱动器。 Lets do that now.让这样做,现在。 Reconnect the drive and the following window should appear.重新驱动器和下面的窗口应该会出现。

When you double click on the Mobile_iTunes icon listed first, iTunes will launch and use the library from your USB flash drive!当您双击就mobile_itunes图标上市第一, iTunes将发射和使用图书馆从您的USB快闪磁碟机! Nice.好的。
Congratulations you are running iTunes from your USB drive . 祝贺您正在运行的iTunes从您的USB驱动器 。
Installing iTunes on a different computer: 安装iTunes就在不同的电脑上:
So you are at work and ready to run your iTunes from a USB drive.因此,您在工作,并准备执行您的iTunes从一个USB驱动器。 This is what you do.这是什么你怎么做。 Plug in the USB drive, but DON’T click the Autorun icon which pops up (and we created).堵塞在USB驱动器,但不按一下自动图标,其中持久性有机污染物(和我们建立了) 。 Rather, close the pop-up window and navigate to the USB drive from My Computer .相反,关闭弹出式窗口和浏览到USB驱动器从我的电脑 。 Right click on the USB drive and click “ Explore ” Open the ‘ iTunes_Installer ‘ folder on the USB drive and double click the iTunesSetup.exe file.按一下滑鼠右键, USB驱动器,并点击“ 探索 ”开放式' itunes_installer '文件夹中USB驱动器和双击itunessetup.exe档案。 Run the installation.运行安装程序。
Once the iTunes installation is complete you’ll have a blank iTunes library on the new PC.一旦iTunes的安装完成后您将有一个空白的iTunes资料库中就新的PC机。 That’s OK, close iTunes.说的确定,关闭的iTunes 。 Now click your iTunes_mobile.bat file.现在按一下您的itunes_mobile.bat档案。 This will open iTunes with your Library from the USB drive.这将打开iTunes与您的图书馆从USB驱动器。 Done!做完!
Congratulations you are running iTunes library from your USB drive on ANOTHER computer . 祝贺您正在运行的iTunes资料库,从您的USB驱动器在另一台计算机上 。
So here is the bonus.因此,这里是花红。 If you perform this如果您执行此 USB tutorial补习的USB on a large USB hard drive, chances are that external enclosure has additional USB ports.在一个大USB硬盘驱动器,机会是对外文已额外的USB连接埠。 Now connect and sync your iPod to the USB drive, forget connecting the iPod to your PC.现在连接和同步你的iPod ,到USB驱动器,忘记连接的iPod到您的PC 。 You can sync, grab podcasts, whatever, without connecting the iPod directly to your computer.您可以同步,抓斗播客,无论如何,在没有连接iPod的直接到你的电脑。
If you have troubles, issues or comments, put them in the forums section for all to see and benefit.如果你有麻烦,问题或意见,把他们在论坛中一节,大家都可看到并从中受益。 Keep in mind, this works for me and should work for you, but I take no responsibility if a major catastrophe occurs.请记住,这个工程对我来说,并应为您工作,但我不承担任何责任,如果一个重大的灾难发生。
Some information came from an iLounge forum post: http://forums.ilounge.com/archive/index.php/t-174182.html一些资料,来自ilounge论坛帖子: http://forums.ilounge.com/archive/index.php/t-174182.html














