set theFolder to choose folder set cmdline to "ls -1r '" & POSIX path of theFolder & "'" set fileList to do shell script cmdline set orgdelim to AppleScript's text item delimiters set AppleScript's text item delimiters to return repeat with aFilename in text items of fileList set aFilepath to (theFolder as text) & aFilename display dialog aFilepath giving up after 2 tell application "iTunes" to add alias aFilepath end repeat set AppleScript's text item delimiters to orgdelim