Hello and thanks for the reply.
This is my first winscp script, and I am confused although I've been reading the docs.
I added winscp to the path(below)and it fixed my problem. As usual, there is now a different error and I am TIA for your advice.
from the windows cmd
C:\>winscp.exe This works to start the GUI
However,this does not open the winscp console
Cannot start WinSCP application.
Can I start a script from the winscp console? Or is it only for writing scripts and manual commands?
Can I run a winscp script from the GUI?
This would be best for the user.
The revised Path:
%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\QuantumGIS\apps\gdal-16\bin;C:\QuantumGIS\bin;C:\Program Files (x86)\JavaFX\javafx-sdk1.2\bin;C:\Program Files (x86)\JavaFX\javafx-sdk1.2\emulator\bin;C:\Perl\site\bin;C:\Perl\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Common Files\Intuit\QBPOSSDKRuntime;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\QuantumGIS\apps\msys\bin;C:\QuantumGIS\apps\grass\grass-6.4.0svn\bin;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\WinSCP
Holly Glaser wrote:
1. Windows cmd window does not recognize winscp
ex. C:> winscp.exe
'Winscp' is not recognized as an internal or external command,
operable program or batch file.
Well, I support you do not have winscp.exe in the PATH.
2. Winscp console does not open scripts using > winscp.exe /console /script= myscript.txt
>Unknown command 'winscp.exe'
Why do you suppose this should work?
You need to run that command from Windows command line, not from WinSCP console.