calling synergy from another folder

7D8

In Runtime
Messages
209
so i have a question. I have synergy installed in my /etc directory. I wanted to write up an .sh file so that I can execute on login. so in my file i have:


Code:
/etc/synergys -h

// return: SynergyTPL.sh: 4: /etc/synergys: not found

but it says there is no file or directory called synergys. However, if I:

Code:
cd /etc

synergys -h

// return helpfile

also if I move SynergyTPL.sh to the /etc folder, and i put in the file

Code:
/etc/synergys -h

than it works. How do I envoke the file from another directory?
 
Back
Top Bottom