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

Author Message
[View user's profile]

Joined: 2007-07-03
Posts: 1

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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27083
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, not winscp.exe.
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