; First we start Wait and wait 5 Seconds
; --------------------------------------
Wait 5 

; When you press CTRL+C Wait will return Doscode 5 and WARN will be set
; ---------------------------------------------------------------------

if WARN
  echo "Canceled by User..."
else

; Otherwise Wait will runs till its end :)
; ----------------------------------------

  echo "Wait run till end..."
endif
