<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Dec 3, 2013 at 11:55 PM, Fabian Kurz <span dir="ltr"><<a href="mailto:fabian@fkurz.net" target="_blank">fabian@fkurz.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>you can use a Windows batch file to do this, as described e.g. here:<br></div>
<a href="http://stackoverflow.com/questions/162291/how-to-check-if-a-process-is-running-via-a-batch-script" target="_blank">http://stackoverflow.com/questions/162291/how-to-check-if-a-process-is-running-via-a-batch-script</a><br>



<br>
This solution seems to be the fastest and easiest:<br>
<br>
tasklist /FI "IMAGENAME eq wt.exe" 2>NUL | find /I /N "wt.exe">NUL<br>
if "%ERRORLEVEL%"=="1" start wt.exe<br>
<br>
Just copy the lines above into a file, save it as e.g. "wt.bat", and<br>
start WinTest by this batch file. It won't allow a second instance to<br>
run.<br>
<br>
You may have to add the full path to wt.exe in the last line, unless<br>
it's in the PATH.<br></blockquote><div><br></div>Very good Fabian!<div class="gmail_extra"><br clear="all"><div>73,<div>Bob, N6TV</div></div></div><div><br></div></div></div></div>