Hi,
I'm using plink to execute shell script on UNIX machines.
It works pretty well excepted with some machines where I don't have the same $PATH than with putty.
I'm using the command
Code:
PLINK.EXE -ssh machinename -l user -pw password echo $PATH
And for putty nothing special set, I use ssh as connection type.
I'm not a specialist so I'm not sure of the following but it seems that the profile is not load which could explain the difference between the $PATH.
As I don't how works the profile file and I'm not the owner the machines I'm a little lost.
Is there something known with plink? Or something I must set?
Thanks