actions DoTest { SET THELIST=$(GLOBALLIST) ECHO Extraspace -%THELIST%+ ECHO Noextraspace -$(GLOBALLIST)+ } GLOBALLIST = "A" ; DoTest all ;