<p>I realize that this could probably be done easier in any number of other scripting languages but started to do it quick in cmd and now Im curious.</p>

<p>Looking to start a process at an offset to the time that another process started.  Lets say 5 minutes to keep it simple.  Is there a way to add to the %TIME% variable?</p>

<p>For instance:</p>

<pre><code>start /b foo.exe
at %TIME% + 5 minutes bar.exe
</code></pre>

<p>Thanks for any assistance</p>

I just typed
```
set/?
```
and discovered cmd is much better than old bat... :-)
```
```
set h=%TIME:~0,2%
set m=%TIME:~3,2%
set/a m2="m+5"
set t2=%h%:%m2%
set t2
```
```
Obviously, you can get 62 minutes, etc., I let you do the extra math... :-D