>>This is 'funny' :
>>
>>If I type MODIFY COMMAND F:\EFFE in the command window, it will open EFFE.PRG if it exists in F:\. However, if it doesn't exist there, but if there is an EFFE.PRG along the PATH, it will open that one. It shouldn't. It's a bug or at least an unwanted feature.
>
>
>That is why I use SYS(2000) when I want to know if the file exists in a specific location.
Me too, but here we were talking about MODIFY COMMAND that also opens the file if it's found even if the path specified is wrong.
If it's not broken, fix it until it is.
My Blog