Re: Running a .bat script via WinSCPNet.dll
I assume you mean "shell script", not ".bat script", right?
If you are looking for a
https://winscp.net/eng/docs/library_session_executecommand
The replacements are documented in "Converting to .NET Assembly" sections:
https://winscp.net/eng/docs/scriptcommand_call#net
If you are looking for a
call
replacement, use Session.ExecuteCommand
:
https://winscp.net/eng/docs/library_session_executecommand
The replacements are documented in "Converting to .NET Assembly" sections:
https://winscp.net/eng/docs/scriptcommand_call#net