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: Simple script - This app can't run on your pc

Strange. I can run winscp.com on Windows 10 x64.
muranb

Solved

Scratch that, works with .exe

I'm sure I remember doing it differently under Windows 8!
muranb

Simple script - This app can't run on your pc

I am trying to run a simple test script to sync an FTP folder with a local directory and on running the script I am met with the following command and the resulting error:
C:\Program Files (x86)\WinSCP>WinSCP.com /console /script="d:\backups\testlocal\sync.txt" /log="d:\backups\testlocal\log.txt

On closing this, the final line in the command prompt window is "Access is denied".

I am running Win10 (64 bit) and the command prompt is running as elevated. My simple script can be seen bottom right in the screenshot.

Any ideas why this isn't working please? Is WinSCP scripting not compatible with Windows 10?

Thanks for any help.