Documentation DEFER

Apr 13, 2010
236
3
58
The Hague
#1
The documentation states
A batch file can have multiple DEFER commands. They will be executed in first in, first out order when the batch file exits.
This is not incorrect, but - what I didn't immediately realize - is that the commands are still executed on the same thread. So, if you defer a lot of work, you simply have to wait a long time for the prompt to reappear.