Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Cannot locate COM executable

@marcosfrm: Thanks for sharing your solution.
marcosfrm

Re: Cannot locate COM executable

Thanks. I ended up using in my CMD script:
start /wait winscp.exe /console /command "stuff 1" "stuff 2"
...

This way I can type the password (do not want it saved anywhere).

Let's hope Microsoft provides an API or whatever to make winscp.com work in the Store version.

WinSCP is great. Keep up the good work!
martin

Re: Cannot locate COM executable

@marcosfrm: I'm afraid that nothing has changed meanwhile. But note that you can use WinSCP.exe for scripting too, with some limitations:
https://winscp.net/eng/docs/executables
marcosfrm

Re: Cannot locate COM executable

Any news on this? It would be nice use winscp.com from the Store, which is always up to date.
martin

Re: Cannot locate COM executable

By the "paid version", do you mean the Microsoft Store version?
While the Store versions comes with winscp.com, it is not easily available due to limitations of the platform: UWP console app with no icon, just execution alias.

You can use an absolute path, but it changes with every update:
C:\Program Files\WindowsApps\MartinPikryl.WinSCP_5.15.9.0_x86__tvv458r3h9r5m\WinSCP.com

You better download the portable package and use that.
WilliamO

Cannot locate COM executable

I downloaded WinSCP – the paid version. I cannot seem to locate the .com executable and cannot run from the command line. I am looking to automate folder creation on a local machine and push to a Synology NAS.