winscp.com is not a valid win32 application
Trying to script a transfer using a batch file. This is the contents of the bat file:
"C:\Program Files (x86)\WinSCP\winscp.com" /script="mobwscp.txt" > "moblog.txt"
The OS returns: C:\Program Files (x86)\WinSCP\winscp.com is not a valid win32 application
Yet I can execute "C:\Program Files (x86)\WinSCP\winscp.com" from the same cmd session where I am attempting the bat.
OS is Win Server 2008 R2.
I checked permissions on winscp.com: full control.
I believe UAC is off.
any ideas?
"C:\Program Files (x86)\WinSCP\winscp.com" /script="mobwscp.txt" > "moblog.txt"
The OS returns: C:\Program Files (x86)\WinSCP\winscp.com is not a valid win32 application
Yet I can execute "C:\Program Files (x86)\WinSCP\winscp.com" from the same cmd session where I am attempting the bat.
OS is Win Server 2008 R2.
I checked permissions on winscp.com: full control.
I believe UAC is off.
any ideas?