Differences
This shows you the differences between the selected revisions of the page.
2009-05-29 | 2009-07-01 | ||
no summary (66.60.177.174) | 4.2.2 bug 197 (martin) | ||
Line 242: | Line 242: | ||
First create wrapper batch file to store the paths you want to synchronize into environment variables (change ''/home/user/www/'' to remote path root you want to synchronize against): | First create wrapper batch file to store the paths you want to synchronize into environment variables (change ''/home/user/www/'' to remote path root you want to synchronize against): | ||
<code> | <code> | ||
- | set LOCAL=%1 | + | winscp.com /script=example.txt /parameter %1 "/home/user/www/%~n1%~x1" |
- | set REMOTE="/home/user/www/%~n1%~x1" | + | |
- | winscp.com /script=example.txt | + | |
</code> | </code> | ||
Line 254: | Line 252: | ||
open mysession | open mysession | ||
# Synchronize paths provided via environment variables | # Synchronize paths provided via environment variables | ||
- | synchronize remote %LOCAL% %REMOTE% | + | synchronize remote %1% %2% |
</code> | </code> | ||