Topic "hide console window while using WinSCP in batch mode"

Author Message
ovm
[View user's profile]

Joined: 2007-07-03
Posts: 1
Hi,

i'm using WinSCP in a C# Application. This app creates a new process that runs the WinSCP Client in console mode. The output (info and error) is redirected asynchronously to the c# app that handles the output,either logging it or using the output directly.

Question: Is it possible to hide the console window?

Greetings & thanks in advance
ovm
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I do not know C#. Providing there is counterpart for C ShellExecute function, it has parameter SW_HIDE. Note that it would work only if you execute winscp.com, not winscp.exe.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License