>We are having a problem with temp files.
>With WindowsNT4.0 Server Pack 1, a customer has only read-only
>rights to the root of C. Our application will not start with those
>rights...if the rights are set to be not read-only, it starts fine.
>We have the temp file settings in CONFIG.FPW set to write to c:\TEMP,
>but when the app starts it gives the error:
>"Cannot initialize environment"
>
>Someone suggested that the issue had to do with the foxuser file,
>but that is not the file that it is trying to write...it is a
>.TMP file.
>Any suggestions?
James,
You cannot specify path but only drive with "tmpfiles".
tmpfiles=c:\temp
and
tmpfiles=c:\somedir\somesubdir
are equivalant and both means use c: root for tempfiles. That is, "tmpfiles" only use drive part. To use fullpath instead use "editwork", "sortwork", "progwork" not "tmpfiles". Provided you have RW access to "x:\temp" config.fpw setting :
editwork=x:\temp\
sortwork=x:\temp\
progwork=x:\temp\
works as intended.
Cetin