. script to install icons
ECHO "[1mInstallM2Icons[0m by Robert Brandner"
ECHO "Installing icons ..."
ECHO ""
IF NOT EXISTS M2:
  ECHO "** ERROR: Device M2: not assigned!"
ELSE
  COPY TheIcons/#?.info TO M2:
  COPY TheIcons/Icons/#?.info TO M2:Icons
  IF NOT EXISTS M2Ohm:
    DELETE M2:M2Ohm.info
    ECHO "* WARNING: Device M2Ohm: not assigned!" NOLINE
    ECHO " - M2Ohm icon will not be copied!"
  ELSE
    COPY TheIcons/M2Ohm/#?.info TO M2Ohm:
  ENDIF
  ECHO "ready!"
  WAIT 5 SECS   ; time to be impressed by the message!
ENDIF
