Differences

This shows you the differences between the selected revisions of the page.

2017-02-06 2017-02-06
use ini=nul (martin) put /ini=nul first as with /command it would look bad to put it after (martin)
Line 40: Line 40:
<code batch> <code batch>
@echo off @echo off
-winscp.com /script=myscript.txt /ini=nul +winscp.com /ini=nul /script=myscript.txt
</code> </code>
Line 74: Line 74:
<code batch> <code batch>
-winscp.com /script=script.tmp /ini=nul /parameter // c:\myfile.txt+winscp.com /ini=nul /script=script.tmp /parameter // c:\myfile.txt
</code> </code>
Line 90: Line 90:
rem Execute script rem Execute script
-winscp.com /script=script.tmp /ini=nul+winscp.com /ini=nul /script=script.tmp
rem Delete temporary script rem Delete temporary script
Line 121: Line 121:
<code batch> <code batch>
-winscp.com /script=example.txt /ini=nul+winscp.com /ini=nul /script=example.txt
if %ERRORLEVEL% neq 0 goto error if %ERRORLEVEL% neq 0 goto error

Last modified: by martin