Path to subfolder relative to standalone app

I need to create a standalone Applescript app that will copy a file from a subfolder to the user’s desktop. (The subfolder being in the same root folder as the Applescript app) The “path to me” gets me close, as it gives me the full-path to the standalone app, and then I could append the subfolder to that. However in order to do that, I really need a “path to folder that contains me” type of command.

something like:

duplicate (path of folder that contains me) & “:SubFolder:FiletoCopy.app” to desktop

Hi,

Something like this:

set my_ref to (path to me)
tell application “Finder”
set container_path to (container of my_ref) as string
set some_file_ref to (container_path & “SomeFileName”) as alias
duplicate some_file_ref to desktop
end tell

gl,