I have recently asked a question about automatically inserting a value produced by a custom executable into a prompt field. Please look over this post to know exactly what I am talking about.
The reply I got was exactly what I was looking for except for one but crucial detail.
To make things short: I am looking for a way to make do shell script to accept custom executables. Running my custom command vpnpw in terminal works perfectly fine. However, AppleScript's do shell script says it's unknown.
Does anyone know how to make these custom executables available globally?