Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetEnv
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: GetEnv
Miscellaneous
Thread ID:
00772652
Message ID:
00772663
Views:
11
>Usually I use SYS(2023) to get the temp folder path and that is reliable regardless of the OS and user profile settings. However, a smiliar result could be obtained by getenv('temp') command whose remarks section in the online help says:
>*********************************
>Remarks
>Two environment variables are always available: COMSPEC and PATH. You can create your own environment variables with the MS-DOS SET command.
>*********************************
>
>My Question: are there any circumstances under which GETENV('TEMP') will return empty strings or incorrect results?
>
>Best Regards,
>Bob

None that I'm aware of. Why do you ask?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform