<p>For the moment my batch file look like this:</p>

<pre><code>myprogram.exe param1
</code></pre>

<p>The program starts but the DOS Window remains open. How can I close it?</p>

You can use the exit keyword. Here is an example from one of my batch files:
```
```
start myProgram.exe param1
exit
```
```