Topic "Internal editor command"

Author Message
Mikanoshi
[View user's profile]

Joined: 2016-08-29
Posts: 1
Is it possible to open remote file in internal editor using commands?
I want to add a button to toolbar that opens remote file for editing without changing the currently opened path.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Do you mean a "custom command"?

Yes, but in a new instance of WinSCP only. Use a custom command like:

cmd /c start "" "C:\Program Files (x86)\WinSCP\WinSCP.exe" !S /edit "/path/to/file"

Alternatively use Files > New > File (Shift+F4) and type a path to the file. It will be kept in an edit history, so you can easily look it up in the future.
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