>I have created a project. I can run the main.prg from the command line and it runs fine - however when compiled into an EXE and ran, it changes the directory. I have no views or paths set up. The exe can see everything it needs in the same directory, for some reason it tells the EXE to look in C:\
>
>????
When you start VFP path and other things are set for you automatically via settings in the Tools Options.
In a program you have to set up your own environment (path and all). So if you never did set a path in your main program or in the config.fpw (if one is used) then defaults I think are being used.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope