 Batch files can contain structured conditionals such as IF ...ELSE ... FI, GOTO, GOSUB, procedures, and loops.The environment variable $COMSPEC may point to an alternative command-line interpreter, to be loaded instead of COMMAND.COM.