DEFERNot in LE
Print Topic  Return to Overview  Previous Topic  Next Topic 
Purpose:Execute a command after the batch file exits

 

Format:DEFER command

 

Usage:

 

A batch file can have multiple DEFER commands.  They will be executed in first in, first out order when the batch file exits.

 

If you have variables on the DEFER command line, they will be expanded before the DEFER command is processed, not when command is executed.  To delay variable expansion until command is executed, use single back quotes around the variable names, or double the %'s before the variable names.

 

Topic "defer.htm" last edited 4/28/2008. ©2008  JP Software, Inc.
Keywords: DEFER