Frank,
I think it should be noted in VFP help for Environment Manager what command cannot be used in such program.
< snip >
>If I put "do InitThis.PRG" in the "Run script after environment is set..." Editbox
>I get an error "Variable cProjectFile is not found" followed by an internal consistency
>error.
>
>This is of course a mean thing (from me) as I am definitely tearing the environment
>manager its basis away by issuing the "clear memo" followed by the others.
>
>So just keep in mind, not to be mean to Your Environment Manager <g>.
--sb--