title: Pausing a batch file for amount of time
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/166044/sleeping-in-a-dos-batch-file">Sleeping in a DOS batch file</a><br>
    <a href="https://stackoverflow.com/questions/735285/how-to-wait-in-a-batch-script">How to wait in a batch script</a>  </p>
  </blockquote>
  
  
  
  <p>I have a program that is kicked off with a batch file.</p>
  
  <p>The first module takes 10 seconds or so to initialize, and I want a way to "sleep" for 15 seconds before the second module is called, but I don't want it to require the user to hit a key like "pause" seems to require.</p>
  
  <p>So, this is what I mean:</p>
  
  <pre><code>echo %PATH%
  
  pause 10
  
  echo %PATH%
  </code></pre>
  
  <p>In this example, I want there to be 10 seconds in between the echos.  Is this possible?  I've seen some examples using "ping 1.1.1.1" but it doesn't seem to work all the time correctly.</p>