How to find what the user path is for their Environment
Variables?
Answer Posted / 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 View All Answers
How to Modify application server SQL from the client?
How to Write a raw string of data to the printer?
How to add system menu items to a form ?
How to draw using LoEnglish Mapping Modes?
How to tell if a form has been created (or any object)?
How to Make the drop-down list appear faster?
How to easily move a Window control at runtime?
How to Return application's exit code?
How to Change windows default printer in code?
How to avoid an access violation when using the move procedure?
How to tell in code if my application is running on Windows NT ?
Compare the similarities and differences among Sockets, DCOM, OLE Enterprise?
How to Extract Icons ?
Is Visibroker for C++ 4.5 supported with Delphi 6?
How to Perform undo on an edit control?