Put the menu into a PRACTICE script as an embedded menu block. Start the block with &+ to enable macro replacement in the embedded block.
You can pass the parameters for the menu to the embedding script using the PARAMETERS keyword.
Example:
;my_menu.cmm
LOCAL      &rootpath &user &board
PARAMETERS &rootpath &user &board
MENU.ReProgram
(&+
  ADD
  MENU
  (
    POPUP "&user"
    (
      DEFAULT
      MENUITEM "Disable watchdog"
      (
        DO "&rootpath/boards/&board/disable_wdg.cmm"
      )
    )
  )
)
ENDDOCall with e.g.:
DO D:\my_menu.cmm "/home/user/t32" "MyName" "MyBoardName"