Differences
This shows you the differences between the selected revisions of the page.
2017-10-03 | 2018-01-29 | ||
using variable expansion in strings in powershell (martin) | link update (martin) | ||
Line 35: | Line 35: | ||
If you do not want to use .NET assembly, for simple conditions or conditions involving local files, you may be able to move the condition outside of WinSCP [[scripting|script]] into a [[guide_automation_advanced#batch_file|wrapper batch file]]. | If you do not want to use .NET assembly, for simple conditions or conditions involving local files, you may be able to move the condition outside of WinSCP [[scripting|script]] into a [[guide_automation_advanced#batch_file|wrapper batch file]]. | ||
- | For example you can use an ''[[https://technet.microsoft.com/en-us/library/cc754335.aspx|if]]'' command to test a local file existence before uploading it: | + | For example you can use an ''[[https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/cc754335(v=ws.11)|if]]'' command to test a local file existence before uploading it: |
<code batch> | <code batch> |