HOWTO: Get Application Specific Directory -ASD (where one exists) without Extensions

How can I get the file path for a specific file?