Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::This trigger if exit code of above command was anything but normal (indicating an error)
- if not %ERRORLEVEL% equ 0 (
- :ALARM
- :: Play beep (crypting workaround to not make new line for each echo, but echo would work just fine)
- echo " "| set /p dummyName=!
- ::wait
- timeout /t 2 > nul
- ::loop indefinitely
- goto :alarm
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement