>I wonder why this is not working.
>I want one program to call another.
>So at the beginning of the first one I have:
>
>SET DEFAULT TO c:\myDefault
>SET PATH TO .\PROG, .\DATA, .\REPORTS, \ETC
>
>I have no problem finding, for example, my reports, but when I do:
>
>DO nextProg.prg WITH var1, var2
>
>I have an error: “Cannot create file c:\myDefault\prog\nextProg.FXP”
>Obviously it means what it says, but why this doesn’t work or what is the right way to call the program without using the full path?
Either the existing .FXP is flagged read-only, or you don't have write permissions in the target directgory. Remove the read-only flag and check your permissions in the folder.