How to set relative directory to PATH variable, and run scripts in relative directory globally
If you have added the path of the file to run to your PATH variable you can run your command directly with

 echoHelloWorld.sh


independent of the directory you are in. Running it as ./echoHelloWorld.sh actually explicitly tells the shell to ignore PATH and run the script from the current directory (where it is not available).