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

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,469
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

bfly
bfly avatar
Joined:
Posts:
1

Ahoj! Still not possible to do this with custom commands? I think this is a very useful for editing config files and crontab.

Reply with quote

Advertisement

You can post new topics in this forum