Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Thanks Sir,

I could set the user defined environmnet variable using teh call command.
WINSCP is an excellent tool.
I amactually using the winscp scripting feature in vb.net to submit a job to a cluster.

Thanks a lot for your help on this.


:)
martin

Re: How to set environmnet variables using winscp scripting

What do you hope to achieve by setting the variable?
Anyway, you can do this using call command. But it may not be effective depending what the setting of variable should do.
Sowmya

How to set environmnet variables using winscp scripting

Hi,

I using the winscp scripting feature in vb.net to tranfer files back and forth from windows to Linux. (RHEL 4) . I need to dynamically define the environment variables on linux uisng the winscp scripting feature.
Here is what i tried.

open server
username:
password :
put "%Ef_USER%"="abcde"

i get an error msg as "no command exist.
Could you please help me in defining teh name value pair using winscp scripting feature.

For Eg: I want to set ITERLIMIT=100
export ITERLIMIT.

Your immediate help on thsi would be highly appreciated.
Thanks
Som