Post a reply

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

martin

Re: ExecuteCommand in a specific directory

Use "cd /fullpath ; ./toto.sh filename"
Thierry59

ExecuteCommand in a specific directory

Hello All,

this is my first post.
I'm using WinScp (5.5.5 version) via .net (visual studio 2008)

I'd like to execute a command but I need to be in a specific directory.

Example :
I'd like to launch the command ./toto.sh filename

and I can not use the command /fullpath/toto.sh /path/filename

Would you have any idea ? I do not see anything in the sessionOptions that could help me.

Thierry