- May

- 13,075

- 178

Code:

```
do forever
echo %_do_loop
osd /id=1 /n foo
delay 1
osd /c=1
enddo
```

Code:

```
v:\> cancel.btm
1
2
3
4
^C
Cancel batch job V:\cancel.btm ? (Y/N/A) : N
5
Cancel batch job V:\cancel.btm ? (Y/N/A) : N
6
Cancel batch job V:\cancel.btm ? (Y/N/A) : N
7
Cancel batch job V:\cancel.btm ? (Y/N/A) : N
8
Cancel batch job V:\cancel.btm ? (Y/N/A) : N
9
Cancel batch job V:\cancel.btm ? (Y/N/A) : N
10
Cancel batch job V:\cancel.btm ? (Y/N/A) : N
11
Cancel batch job V:\cancel.btm ? (Y/N/A) : N
```