Command Line in Microsoft Store Version

Advertisement

Vanburen
Guest

Command Line in Microsoft Store Version

I would like to purchase the Microsoft store version of WinSCP to support the project and to benefit from the auto updates.

However I use the command line extensively to launch sessions e.g.:
cmd://"C:\Program Files (x86)\WinSCP\winscp.exe" sftp://{USERNAME}:{PASSWORD}@{SERVER}

Will the command line functionality work with the Microsoft Store version?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: Command Line in Microsoft Store Version

Thanks for your post.

This issue has been added to the tracker:
https://winscp.net/tracker/1662

Though even with the current version, you can still put winscp.exe to PATH.

Reply with quote

Vanburen
Guest

Awesome thanks for the fast response Martin, I look forward to when 5.13.4 is released.

Regarding the fix in 5.13.4, does this add winscp.exe to PATH as part of the install?

If so would the correct way to call it from the command line be cmd://winscp sftp://{USERNAME}:{PASSWORD}@{SERVER} ?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

It does not add WinSCP to PATH, as Windows Store applications cannot change an environment. But Windows Store applications have another mechanism similar to PATH. So WinSCP is using it.

Your command would work as if winscp.exe was in the PATH.

Reply with quote

Advertisement

You can post new topics in this forum