Differences

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

2014-11-20 2014-11-21
using %timestamp% in batch file (martin) elaborating on variable expansion (martin)
Line 52: Line 52:
</code> </code>
-Note that you cannot use any [[http://en.wikibooks.org/wiki/Windows_Batch_Scripting#String_processing|string processing syntax]] known from Windows command-line.+Note that variable expansion is different than in Windows batch files: 
 + 
 +  * You cannot use any [[http://en.wikibooks.org/wiki/Windows_Batch_Scripting#String_processing|string processing syntax]]
 +  * You cannot use [[https://en.wikipedia.org/wiki/Environment_variable#Windows_2|dynamic/pseudo environment variables]], such as ''%DATE%'' or ''%RANDOM%''. 
 +  * References to undefined variables are kept intact (not removed). 
 +  * You can use ''%WINSCP_PATH%'' to refer to WinSCP [[executable]] path.
==== Timestamp ==== ==== Timestamp ====

Last modified: by martin