Topic "ExecuteCommand in a specific directory"

Author Message
[View user's profile]

Joined: 2014-09-08
Posts: 2
Location: Lille, France
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.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Use "cd /fullpath ; ./ filename"
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License