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 Disable Full Window Drag?
How does inheritance operate when using the object of the classes?
How to create Interbase stored procedures that return parameters with TIBQuery?
How to create a Resource only DLL?
How to get the default Windows folders ?
How is the memory used within an object in delphi?
Where are the Delphi 4 InterBase Certificate Keys and IDs located?
what are Hetergenious joins ?
Does Delphi 5 include Resource Workshop and InstallShield Express?
How to Convert a TColor value to a HTML Color string ?
How to Get the windows directory?
How to Write a raw string of data to the printer?
How to Get a handle on your files ?
What is DBGo?
How to Hide the windows taskbar?