Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Checking to see if PATH exist?
Message
From
22/04/1997 12:08:15
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
22/04/1997 09:49:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00029243
Message ID:
00029278
Views:
25
>What is the function to check to see of the PATH is
>really out there?
Use something like

is_dir=DIRECTORY('C:\TEMP')

Re: Tempfiles:
VFP uses the default temp file area used by windows, normally you should have a directory like c:\temp set up and a statement in your autoexec.bat (I believe this is where windows is getting it from) like

SET TEMP=C:\TEMP


Everyone should have a temp file on a Local hard drive to minimize network traffic

Remember that the config.fpw is a pre-load file and the tmpfiles setting will override the default and cannot be changed once your program is running. So your testing for a temp directory from your program will not do anything for you. It needs to be set up beforehand.
L.A.Long
ProgRes
lalong1@charter.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform