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 create Data Link File with Windows 2000?

0 Answers  


How to use Paths and Geometric Pens?

0 Answers  


How to convert numbers into roman numerals?

0 Answers   Intel,


How to Disable a radio button in a TRadioGroup?

0 Answers  


How to Pass a function to a procedure or vice versa?

0 Answers  


How to Remove drives listed in a TDriveComboBox ?

0 Answers  


How to obtain IDAPI32.LIB and IDAPI.H ?

0 Answers  


How to use a true DWORD value passed to Delphi application?

0 Answers  


How to Test IDispatch Descendants?

0 Answers  


Write a program to show the memory leak?

0 Answers  


How to get UpdateMode to work for TQuery on a SQL Server 7.0 table?

0 Answers  


How to Prevent the TEdit component from beeping when invalid ?

0 Answers  


Categories