I need to remember the original setting of the iTunes Media Folder Location setting so I can restore its value after changing it (possibly) more than once.
What is the easiest way to accomplish this?
com.apple.iApps.plist is the correct place to look.
The key "iTunesRecentDatabasePaths" is a String Array, item 0 holds the most recent entry in a form relative to the User's Home directory. Meaning it will probably start with a ~ character.
The key "iTunesRecentDatabases" is a String Array, item 0 holds the most recent entry in the form of a fully qualified "File://" URL.