Differences

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

2014-08-27 2014-09-17
batch file syntax highlighting (martin) batch anchor (martin)
Line 106: Line 106:
==== Using WinSCP Scripting ==== ==== Using WinSCP Scripting ====
-=== From a Batch File ===+=== [[batch]] From a Batch File ===
In Windows batch file, you may retrieve current time in locale-independent format using command ''[[http://technet.microsoft.com/en-us/library/bb491034.aspx|wmic]] os get LocalDateTime''. You can parse the value using using [[http://en.wikibooks.org/wiki/Windows_Batch_Scripting#String_processing|string processing syntax]]: In Windows batch file, you may retrieve current time in locale-independent format using command ''[[http://technet.microsoft.com/en-us/library/bb491034.aspx|wmic]] os get LocalDateTime''. You can parse the value using using [[http://en.wikibooks.org/wiki/Windows_Batch_Scripting#String_processing|string processing syntax]]:

Last modified: by martin