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 Non-Visual Components Without Icons ?

0 Answers  


How to set a custom CVS PServer port?

0 Answers  


How does run-time type information (rtti) work?

0 Answers  


What is Delphi/400 Client Server Suite?

1 Answers   Delphi, IBM,


How to change file attributes programmatically?

1 Answers  






what are Single tier Applications ?

2 Answers  


How to Send a file via DCOM ?

0 Answers  


How to Get the printing margin of the page?

0 Answers  


"EOleSysError : Error loading type library/DLL" . what does this error mean?

0 Answers  


what are the different Dataset event handlers?

0 Answers  


How to draw using LoEnglish Mapping Modes?

0 Answers  


How to Read dos environment variables?

0 Answers  


Categories