Topic "'' is not recognized as an internal or extenal command, operable program or batch file"

Author Message
[View user's profile]

Joined: 2016-06-08
Posts: 2
I seem to keep getting this problem when installing WinSCP for the first time on a new machine (Windows Server 2008 R2), my same script works fine on my work machine (Windows 10 Pro) and I have checked the install directory is directed at C:\Program Files (x86)\WinSCP. I have tried restarting the server after installing WinSCP and even when I open the cmd and type winscp I get the above error... any ideas?

My script which is .bat is below...

Code: /log=ftp.log /command ^
    "open ftps:// -passive -explicitssl -explicittls" ^
    "synchronize remote C:\Users\Administrator\Documents\dumps /folder" ^


[View user's profile]

Joined: 2016-06-08
Posts: 2
I seem to have fixed my own problem... had to add the PATH environment variable manually...
C:\Program Files (x86)\WinSCP\
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
Alternative solutions are:
- Use a full path in the batch file
- Use installer to add to the PATH:
- Use WinSCP for the same:

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License