>Hi,
>I tired it before. It works only if I run "after" VFP finished loaded. If I place it in a prg and set as startup program, then I will get error "window 'command' is not defined.
>
>Any ideas?
>
>Thank you
If you're not seeing the command window in the IDE on VFP startup, then you've possibly still got some code running somewhere. Your startup.prg doesn't do a READ EVENTS or anything like that, does it?