>RUN Command doesn't work when run from a program on a CD.
>But it works find from the same program started from the HD.
> I have a CD Demo program which is supposed to start an Exe file using the Vfoxpro Run command. But everytime I run it from a CD I get the 1405 RUN Error.
Is this another VFP app? If so, and you haven't taken steps to point the temporary file directory to somewhere you can both read and write, you're probably getting caught by the default behavior for a VFP executable with no instructions about where to plqce its working files. VFP defaults to using the directory where the executable is. Try adding a CONFIG.FPW with the line TMPFILES = C:\TEMP, and make sure that this directory exists before the app starts. If there is no FOXUSER file in the CD directory, and CONFIG.FPW does contain RESOURCE=OFF, that'll make a VFP app fail, too, since it will try to make a new FOXUSER.DBF and .FPT otherwise.
> I have tried everything I can think of like Setting the Path, Default directory to both the exe file directory and command.com.
> I have tried so many variations that I'm beginning to believe that this is a bug of some kind. It seems that now matter what the Run command is trying to start, if my main program which contains the Run command is on the CD, then it won't work.
> Any Ideas... I'm all out.. Regards, John
jfo@public.hz.zj.cn