martin wrote:
Do you really mean local (client-side) variables, not remote (server-side) variables?
Yes... my requirement is like this: I have a central server which is installed with OpenSSH. I have 30 clients which needs to transfer files to the server. When transfer initiated, the clients needs to put the files in the respective folders created with their names like Client1, Client2, etc (The names of the clients). clients will only use WinSCP. I'm trying a possible way to use an environment variable so that I need not have to key in the server names on all the clients which will deteriorate the implementation time. Thanks for your reply.