How ro Run another batch script with ssh.net using c#

Dec 29, 2014 at 2:23 PM
hello to all,

i have a very simple question, please help me :)

i want to run another batch script when i connect to another computer using ssh.net

it seems it doesnt work:

SshCommand command = client.RunCommand("C:\mybatch.bat");

what i should i do?

thank you