Advertisement
argui

custom alarm clock script

Nov 22nd, 2022
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.36 KB | None | 0 0
  1. @echo off
  2. setlocal
  3. mode 50,3
  4. set "Music=C:\Users\argui\Music\wecker.mp3"
  5. :Intime
  6. title Its currently%time:,=&rem %
  7. set /p "AlarmTime=Enter the Time(hh:mm): " ||goto Intime
  8. :Test
  9. title Its currently %time:,=&rem %
  10. call %%time:%Alarmtime%=rem%% 2>nul ||(2>nul >nul (timeout /t 4 ||ping localhost -n 4) &goto :Test)
  11. echo LESGOOOOOOO
  12. start "Wecker" "%Music%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement