Using Batch Script to open and close chrome however timeout only starts if I close chrome
<p>I'm trying to write a program that will open Chrome, wait for a short period of time then close Chrome, and repeat. At first it was working and then it began to only start timeout if I closed Chrome manually. I've tried these two codes each had the same problem. 
Code 1</p>

<pre><code>    cd C:\Program Files (x86)\Google\Chrome\Application\
    :loop
    chrome.exe https://www.website.com -incognito
    timeout /t 200
    taskkill /F /IM chrome.exe /T &gt; nul
    goto loop
</code></pre>

<p>Code 2</p>

<pre><code>    cd C:\Program Files (x86)\Google\Chrome\Application\
    :loop
    chrome.exe https://www.website.com -incognito
    TIMEOUT /NOBREAK /T 200&gt;NUL
    taskkill /F /IM chrome.exe /T &gt; nul
    goto loop
</code></pre>

<p>My knowledge with Windows Batch is very limited, and I pieced this together with a lot of internet searches, so the problem is probably very simple and I'm just not experienced enough to see it. Thank you for your time!</p>