>>This will execute the CD command and place the cursor at the beginning of the line deleting the keystrokes sequence used to trigger it. However, it will not display anything in the Command Window. You will just have to know that it worked.
>
>LPARAMETER oFoxCode
>oFoxCode.ValueType = 'V'
>cd c:\temp
>?curdir()
>return "~"
>
>Okay, that was fun. Back to work!
How about
LPARAMETER oFoxCode
oFoxCode.ValueType = 'V'
cd c:\temp
return "* you're at "+curdir()
I'd just like it more this way, because it would display in the command window. _Screen may be obscured by any window that has some editing going on in it.