Differences
This shows you the differences between the selected revisions of the page.
| 2025-01-26 | 2025-01-26 | ||
| no summary (174.229.180.93) (hidden) (untrusted) | no summary (174.229.180.93) (hidden) (untrusted) | ||
| Line 30: | Line 30: | ||
| To use ''<nowiki>%TIMESTAMP...%</nowiki>'' on a command-line in a batch file, you need to escape the ''%'' by doubling it to ''<nowiki>%%TIMESTAMP...%%</nowiki>'', to avoid a batch file interpreter trying to resolve the variable. | To use ''<nowiki>%TIMESTAMP...%</nowiki>'' on a command-line in a batch file, you need to escape the ''%'' by doubling it to ''<nowiki>%%TIMESTAMP...%%</nowiki>'', to avoid a batch file interpreter trying to resolve the variable. | ||
| - | ==== [[arguments]] Script Arguments ==== | ||
| - | You can reference script arguments (passed on command-line using parameter ''[[commandline#scripting|/parameter]]'') using syntax ''%N%'', where ''N'' is ordinal number of argument:((Generally do surround reference by double-quotes to cope properly with spaces in its value.)) | ||
| - | <code winscp> | ||
| - | put "%1%" | ||
| - | </code> | ||
| ==== Case Sensitivity of File Names ==== | ==== Case Sensitivity of File Names ==== | ||