Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Checking to see if PATH exist?
Message
De
22/04/1997 12:08:15
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
22/04/1997 09:49:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00029243
Message ID:
00029278
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform