Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Temp Folder - how to find ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00393592
Message ID:
00393597
Vues:
27
>I need to find the Windows\Temp folder programatically for my config.fpw does anyone know the the function for this ?
>TIA
>John

You can get the temp files folder with this:

oWSH = CREATEOBJECT("Scripting.FileSystemObject")
?oWSH.GetSpecialFolder(2).Path

Are you planning to do this in a post-setup executable? Setting this value from the main exe is too late- the config settings are read before the app even initializes.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform