>>>I have an app with mymain.prg as the "main" program.
>>>
>>>In the command window I can type in DO MYMAIN.PRG
>>>
>>>Is there anyway I can tell that I ran the app with the DO command as opposed to running the exe?
>>
>>Sys(16,0) ?
>
>That did the trick - thanks!
See also
_VFP.StartMode
If it's not broken, fix it until it is.
My Blog