>Hi,
>
>in your Foxpro program the following line of code will do the same thing;
>
>Project_dir = SYS(5)+CurDir()
>
>Regards,
>
>Et
Not always. SYS(5)+CURDIR() gives you the current working directory, which may be different from the directory where your running EXE is located.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison