Subject Re: exe problem
From Mervyn Bick <invalid@invalid.invalid>
Date Tue, 6 Oct 2020 08:52:26 +0200
Newsgroups dbase.getting-started

On 2020/10/05 23:28, Charlie wrote:
> Hi Mervyn...
>
> There is one other program that has the orderby clause and has the same or similar error.  This works fine on my other computers.  There is something going on here.  Nothing that I have done as I haven't coded on this computer yet.
>
> I think the tempworkfile came from something you helped me with.  The code is below.  The last line is the one that triggers the error.
>
> Is there something in dbase that tells the program where to hold temp files?
>
> cFileIn ='c:\golfcb\info\users.csv'
> cFileOut = 'tempworkfile.txt'
> fIn = new file()
> fIn.open(cFileIn)
> fOut = new file()
> fOut.create(cFileOut)

Until we find out why dBASE is trying to place temporary files in
forbidden territory change cFileOut to 'c:\golfcb\info\tempworkfile.txt'

Mervyn.