How to? which will run?

Oct 18, 2008
273
1
#1
Hello --

How would this be processed -- which one would execute first

I have a directory call c:\scripts and its noted in the path env var

I have 2 files, foo.cpx and foo.cpi which are scripts and the cpi is a compiled version of cpx
bot files are in c:\scripts and cpx.exe knows how to execute compiled and non-compiled code

I also have set

set .cpi=cpx.exe
set .cpx=cpx.exe

now I type "foo" at the command prompt, which foo will be executed?