How to find what the user path is for their Environment
Variables?



How to find what the user path is for their Environment Variables?..

Answer / editcdc

Windows provides four API functions for accessing and
updating environment variables:

1. GetEnvironmentVariable
This returns the value of a given environment variable.
2. SetEnvironmentVariable
Sets an environment variable's value, creating a new
variable if necessary. This routine can also be used to
delete an environment variable.
3. GetEnvironmentStrings
Gets a list of all the environment variables available
to a process.
4. ExpandEnvironmentStrings
Replaces environment variables delimited by "%"
characters in a string with the variable's value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Delphi Interview Questions

How to Change the font in a hint window ?

0 Answers  


How to Specify an overlay image for a node in a treeview ?

0 Answers  


Does Delphi 5 include Resource Workshop and InstallShield Express?

0 Answers  


How to query dates using Day-Month-Year using local SQL ?

0 Answers  


How to Get the Windows version in code?

0 Answers  


Do I have to understand object-oriented programming to use Delphi?

0 Answers  


How to Add TrueType fonts to windows in code?

0 Answers  


How to Find the RepositoryId of a CORBA Server?

1 Answers  


What directory is the ActiveForm in ?

0 Answers  


How to Use the Shell API function SHBrowseForFolder() ?

0 Answers  


How to Use Multiple Servers?

0 Answers  


How to convert a color to a shade of gray?

0 Answers  


Categories