Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Temp Folder - how to find ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00393592
Message ID:
00393597
Views:
26
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform