I have read, and read, and read, and read, but I just can't figure this out. I created a simple batch script that launches winscp.exe from a batch file, and passes another file to it with code. This works perfectly everytime because it's in the same directory as winscp.exe. The batch file code is: "C:\Program Files (x86)\WinSCP.exe" /console /script=FromFTPServer.txt Like I said, this works perfectly.
When I create a batch file located on my desktop to perform the same action, it fails to execute correctly everytime. My code from my desktop test.bat file is: start "" "C:\Program Files (x86)\WinSCP\WinSCP.exe" /console /script=FromFTPServer.txt
Can anyone help resolve this? I know it's staring me in the face, but I can't get it right!!! :evil: I would also like to add some sort of log file such as /log="C:\Program Files (x86)\WinSCP\winscp.log.txt" but that failed on me as well.
Any help is greatly appreciated!!!!! :lol: :lol: :lol: