Post a reply

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)


Topic review


Re: ExecuteCommand in a specific directory

Use "cd /fullpath ; ./ filename"

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 ./ filename

and I can not use the command /fullpath/ /path/filename

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