yeah, well, if your executable is in some dir and can only be started by "going" there first, then the executable isn't in your path
so one solution would be to create a symlink to your path pointing to the executable, like this:
let's say you have a program called run.sh in /home/name/run/. now you can only start it by either cd'ing to /home/name/run/ and running it or by typing /home/name/run/run.sh - the trick to make it runnable "from any place" is this: let's make a symlink to, say, /usr/bin with a command like this:
ln -s /home/name/run/run.sh /usr/bin/run
after this you would just type "run" (without quotes) no matter "where" you are, to run the program from /home/name/run/. simple as that
so just do a "ln -s /the/path/to/executable /usr/bin/appname" without quotes. got it?