Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I replaced my hard drive and upgraded from Windows Vista to Windows 7. Some of my songs were in one (or perhaps a few) folders which no longer exist. The songs exist in a new location. I know I can just add the new location to my library, but all my playlists with those songs will be broken. Any ideas on how to approach this?

Maybe there is a file I can open in a text editor, and then replace the beginning of a lot of path names with the new path?

share|improve this question

How many songs? If it's just a few, then the easiest way is to do it manually. Just try to play the songs in question, and you'll get a popup saying the file couldn't be found, and offering to choose a new location. Do that, and select the file in its new folder. That will restore the file without breaking your playlists or metadata.

If you have more files than is practical to manually resort each one, you can edit the iTunes Library.xml file to do a find & replace, then scrap your .itl file and import the XML file, which will restore your playlists and files.

For more information on this process, read Apple's support site and this guide.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.