If you are trying to get a correct file path manually in cordova ionic app. Type the path and hit cmd + click. if it is a correct path it will open but if not it will give you an error. Worked for me in VS code.
Welcome, log in to continue reading. It's free and only takes a minute.