ELSE

Else is an option for the IF command

 

Example

IF EXIST sample.txt (Del File.txt) ELSE (copy File1.txt File2.txt)

 



“Confidence comes not from always being right but from not fearing to be wrong” - Peter T. Mcintyre

Related:

IF command


Copyright © SS64.com 1999-2017
Some rights reserved