Export Command


export variable...


The export command places each variable in the export command in the list of shell variables passed to DOS commands run from within menu. If the variable did not previously exist, it is created and is set to the value of the menu variable if it exists; otherwise, it is set to a null string.

The export command is useful to make the value of menu variables available to other programs.

The built-in export command is only available when menu has the built-in menu commands enabled.


ask "Enter report date: " as date to RDATE

export RDATE

grace ~myreport