Thanks elserj and hcvv.
As I understand it, if the path of an executable is not defined in $PATH, you must explicitly include the full pathname of the file to execute it, which adding
./ does. I also tested this by typing at the command prompt
Code:
~/path-to-file/filename
which also executed the file with no problems.