title: Batch - pausing script until a certain system time
body: <p>I have a batchfile that I need to pause until a system time defined by the user. Here's my current script that doesn't work.</p>
  
  <pre><code>@echo off
  echo %time%
  set /p input="Enter value "
  :Loop
  if "%time%" == "%input%" goto Continue
  GOTO Loop
  :Continue
  start
  pause
  </code></pre>
  
  <p>Also, if possible, is there a way to simulate a media key press in batch? Would make things easier later in the process.</p>