Internal editor command

Advertisement

Mikanoshi
Joined:
Posts:
1

Internal editor command

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

Re: Internal editor command

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.

Reply with quote

Advertisement

You can post new topics in this forum