How to open multiple urls in a browser like Chome using a batch file?
<p>I have several URLs and I want to open them using a batch file. I used this simple script in a file called <code>URL.bat</code> to open the webpages when I double click on it. It is working but I want to add a delay of three seconds between each URL because they open all at once which freezes up the machine. I tried to use <code>timeout</code> or a delay function but no luck. They are opened all at once again. Below is how I tried to do it, with and without the timeout.</p>
<p>Please note that there is a question with the same problem but I already tried the answer in it and it is not working: <a href="https://stackoverflow.com/questions/26223751/opening-multiple-urls-using-batch-file">opening multiple urls using batch file</a></p>
<p>First attempt:</p>
<pre><code>@echo off
start chrome &quot;http://google.com&quot; 
start chrome &quot;http://yahoo.com&quot; 
start chrome &quot;http://bing.com&quot;
</code></pre>
<p>Second attempt:</p>
<pre><code>@echo off
start chrome &quot;http://google.com&quot; 
Timeout 3
start chrome &quot;http://yahoo.com&quot; 
Timeout 3
start chrome &quot;http://bing.com&quot;
</code></pre>