I've written a simple batch file which, after doing some stuff to a video file that arrives periodically, dumps the output into the
Automatically Add to iTunes folder so that iTunes will add it to its library when it is next started.
At present, the path to this folder is hard-coded into the script.
This isn't very flexible as my iTunes Media folder is
E:\ but I know that others may have it in
C:\Users\username\My Music\iTunes\ or (if they are on XP)
C:\Documents and Settings\username\My Documents\My Music\iTunes\.
Is there any way to work out where the iTunes Media Folder is located? I've trawled the registry but cannot find anything which would hint at its path.