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

Author Message
camper
[View user's profile]

Joined: 2017-10-20
Posts: 2
Hi,

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.
martin◆
[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:
https://winscp.net/eng/docs/commandline#batchsettings
Advertisements

You can post new topics in this forum

Search

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