Pass local home as command line parameter to WinSCP.exe

Advertisement

[email protected]
Joined:
Posts:
2

Pass local home as command line parameter to WinSCP.exe

Is it possible to set specific local home instead the Windows user's Document folder when WinSCP.exe starting from command line?

I start the WinSCP like this:
Process.Start(
  "utilities\\WinSCP\\WinSCP.exe",
  SessionURL + " /newinstance /ini=\"utilities\\WinSCP\\" + Globals.LoggedUser + "\\WinSCP.ini\"");

There are specific working folder for each users in my application and I would like to change the appeared directory in the left panel to the logged-in user's working folder.

Reply with quote

Advertisement

[email protected]

Re: Pass local home as command line parameter to WinSCP.exe

I appended the /rawsetting LocalDirectory="my directory" as last command line argument and works fine.
I should have found it in the documentation.
Thanks a lot!

Reply with quote

Advertisement

You can post new topics in this forum