I moved a folder and now the dock item cannot find the application.
How can I view the path of the pointer in a Dock item?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
~/Library/Preferences/com.apple.dock.plist and look in the 'persistent-apps' array:
Simply hold the Command key when you click the app in the dock and it will open the location of the app rather than opening the application as normal. Once you have the app open in finder you can right click the name of the folder at the very top of the finder window that opened and it will show the path to the app.
Alternatively you could right click the app in the finder window and click "Get Info" to show a panel like this with the path to the app: