>We are still having a problem with temp files.
>With WINDOWSNT4.0 Server Pack 1, a customer has read-only rights to the root of C. Our application will not start with those rights - it gives the message "Cannot initialize environment. If the rights are set not to be read-only, it start fine.
>We have tried:
>1) setting the temp file settings in CONFIG.FPW to c:\TEMP
>2) setting RESOURCE=OFF in CONFIG.FPW, and putting FOXUSER.DBF, FPT in the root of C flagged as read only
>3) using the commands:
> editwork,sortwork,progwork=C:\TEMP in CONFIG.FPW.
>
>Nothing seems to work. It seems to be trying to write *.tmp files
>into the root of C.
>Any suggestions?
Check the value of sys(2019) from within your app - just to check which config.fpw is it using. It may use a different one. Another thing to check is to create a cursor and see what does dbf() return - so you'll see its location.