Advertisement
Guest User

Untitled

a guest
Oct 7th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. ::This trigger if exit code of above command was anything but normal (indicating an error)
  2. if not %ERRORLEVEL% equ 0 (
  3. :ALARM
  4. :: Play beep (crypting workaround to not make new line for each echo, but echo  would work just fine)
  5. echo " "| set /p dummyName=!
  6. ::wait
  7. timeout /t 2 > nul
  8. ::loop indefinitely
  9. goto :alarm
  10. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement