Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Temporary files problem
Message
From
10/02/1999 05:48:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00185689
Message ID:
00185869
Views:
20
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform