Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Locating files

I've imported my song library onto my new lap top, but iTunes has not found all the file locations. When I locate a file, iTunes doesn't include the remaining 500+ 'lost' files even though they are all saved in the same location! I don't want to be forced to have to find them all individually! Is there a solution? Please help!

iPod classic 160GB (Late 2009), Windows 10

Posted on Nov 29, 2015 1:54 PM

Reply
Question marked as Best reply

Posted on Nov 29, 2015 2:11 PM

The "missing file" error happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, or the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.


Select a track with an exclamation mark, use Ctrl-I to Get Info, then click No when asked to try to locate the track. (Due to a bug in iTunes 12 you currently have to say No twice!) Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive letter has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case. If everything is where it is supposed to be try Repair security permissions for iTunes for Windows.


In some cases iTunes may be able to repair itself if you go through the same steps with Get Info but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links. Although it says something like "use the same location" I think it expects to find the tracks in the same artist & album layout they were in previously, with one systematic change to the path.


If another application like Windows Media Player has moved/renamed the files then the chances are that subtle differences in naming strategies will make it hard to restore the media to the precise path that iTunes is expecting. In such cases, as long as the missing files can be found somewhere, you should be able to use my FindTracks script to reconnect them to iTunes. See this post for an explanation of how it works.


If you want me to try to provide specific advice please post back the following details:

  1. The location of the media folder under Edit > Preferences > Advanced
  2. The location of a sample missing track shown under Get Info > File > Location that begins file://localhost/
  3. The true path to the file whose details you gave in 2.


tt2

122 replies
Question marked as Best reply

Nov 29, 2015 2:11 PM in response to PtotheGee

The "missing file" error happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, or the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.


Select a track with an exclamation mark, use Ctrl-I to Get Info, then click No when asked to try to locate the track. (Due to a bug in iTunes 12 you currently have to say No twice!) Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive letter has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case. If everything is where it is supposed to be try Repair security permissions for iTunes for Windows.


In some cases iTunes may be able to repair itself if you go through the same steps with Get Info but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links. Although it says something like "use the same location" I think it expects to find the tracks in the same artist & album layout they were in previously, with one systematic change to the path.


If another application like Windows Media Player has moved/renamed the files then the chances are that subtle differences in naming strategies will make it hard to restore the media to the precise path that iTunes is expecting. In such cases, as long as the missing files can be found somewhere, you should be able to use my FindTracks script to reconnect them to iTunes. See this post for an explanation of how it works.


If you want me to try to provide specific advice please post back the following details:

  1. The location of the media folder under Edit > Preferences > Advanced
  2. The location of a sample missing track shown under Get Info > File > Location that begins file://localhost/
  3. The true path to the file whose details you gave in 2.


tt2

Dec 16, 2015 9:52 AM in response to turingtest2

Still no joy unfortunately. Will try to provide you the details so you can provide specific advice

1. All media files located on Drive G:/ (That being the external hard drive)

2. The location of a sample missing track shown under Get Info > File > Location that begins file://localhost/

C:/Users/Alex/Music/iTunes/iTunes Media/ABBA/Gold/01 Dancing Queen.aif

3. Not sure what you mean by this ?

Dec 16, 2015 12:22 PM in response to alex8199

That looks pretty normal. ITunes ought to be able to do the fine one repair the rest trick, but is how to use the script.


First under Edit > Preferences > Advanced turn off Keep & Copy if enabled. You can restore these settings later. Select the rest of the tracks of that Abba album and run the FindTracks script, say No to the first prompt and then point it at G:\ and click OK. This should should let you confirm that the script can correcfly repair the links. Assuming it works as intended use Ctrl+A to select all and run the script in automatic mode.


tt2

Dec 17, 2015 3:49 AM in response to turingtest2

Eventually found the FindTracks script. Was not aware that I had to download it ! Anyhow did as you instructed and it worked perfectly on the ABBA album.

I then selected all albums and tried to run it again but I did not work. So then selected a single album but still did not work. Then tried it on a single track and the same thing happened. Each time a window appeared with the following information:


Windows Script Host

Script: C:\Users\Alex\Downloads\FindTracks.vbs

Line: 723

Char: 13

Error: Invalid procedure call or argument: 'Mid'

Code: 800A0005

Source: Microsoft VBScipt runtime error


Proving to be an epic problem to solve. Hoping you can still help !

Locating files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.