I think the windows command line you use can't deal with the name substitution brackets, try the follwing: >>
LOCAL lcMacro
* take the file name:
lcMacro = anexos.file* prevent from errors due to spaces in file names:
lcMacro = ["] + m.lcMacro + ["]* call the shell
!c:\windows\notepad &lcMacro.
<< BTW: The location of the Windows directory is not "c:\window" at all machines!