Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TMPFILES
Message
From
17/08/1999 19:32:49
 
 
To
17/08/1999 17:41:36
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00254693
Message ID:
00254755
Views:
22
>Sorry to pick your brain again, but you said you put it in the config.fpw. So you allow the users to change this config file?
>
>I don't feel comfortable hard coding the temp to always be say C:\TEMP, their C: drive might be the smallest drive and not have the room available. We have our config.fpw compiled into the exe. Is this not a good idea? I thought that would make sure the application was using the right config file.

The problem is that if you compile it into the executable, you can't override it, and if you set TMPFILES in the CONFIG.FPW, you need to be sure that the directory specified exists and the user has full rights in the directory, and that the drive has plenty of space for it to work with.

I find that building a CONFIG.FPW on each user system, and placing that and the executable on the local system, pay big dividends, especially in conjunction with a launcher application that can keep the required local files up to date before firing off the actual application.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform