Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How get Temp directory path?
Message
De
22/02/2006 08:50:55
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01097543
Message ID:
01098078
Vues:
15
Sergey, which one (sys(2023) or getEnv('temp')) you think is safer to use?

I'm asking this because in a customer with win2000, they recreated all users in their machine, Windows got a bit confused and sys(2023) generated a folder which did not exist.

Thanks,
Javier.

>It's VFP temp directory and can be different from the Windows temp directory.
>? GETENV("Temp")
>
>
>>Found out myself:
>>
>>SYS(2023)
>>
>>
>>>Look at: SYS(2005) and SYS(5)
>>>
>>>
>>>Regards,
>>>
>>>
>>>
>>>
>>>
>>>>Hello,
>>>>
>>>>Usually Windows programms stores their temporary files in the C:\Documents and Settings\UserName\Local Settings\Temp directory.
>>>>How get this path with VFP?
>>>>
>>>>Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform