Topic "Start WinSCP with a certain (local) directory selected"

Author Message
[View user's profile]

Joined: 2017-10-20
Posts: 2

How can I start WinSCP that way, that at the local side of the Commander-like interface a directory specified as command line parameter is shown, no matter what session/connection I will then open in WinSCP? I don't want to change any configured session, but use the local directory passed as command line parameter. Thanks in advance.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
There's no such option.
What you can do, is to create a batch file, that will change all configured sessions to use the specified path. And then start WinSCP GUI.
For the first step, you can use /batchsettings switch:

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