Differences
This shows you the differences between the selected revisions of the page.
| 2014-09-18 | 2014-09-18 | ||
| exit code of a batch file (martin) | exit code of a batch file (martin) | ||
| Line 577: | Line 577: | ||
| echo Upload succeeded, moving local files | echo Upload succeeded, moving local files | ||
| move *.* c:\backup\ | move *.* c:\backup\ | ||
| - | exit | + | exit 0 |
| :error | :error | ||
| echo Upload failed, keeping local files | echo Upload failed, keeping local files | ||
| + | exit 1 | ||
| </code> | </code> | ||
| ===== [[synchronize_any_local_file]] Shortcut to synchronize any local directory with remote directory ===== | ===== [[synchronize_any_local_file]] Shortcut to synchronize any local directory with remote directory ===== | ||
| + | |||