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 change Kylix directory permissions for all users when installed as root?
How to use Access97 drivers with BDE 4.51 ?
How does inheritance operate when using the object of the classes?
How to eject a CD-ROM in code?
what are the different Dataset event handlers?
How to draw using LoEnglish Mapping Modes?
How to Detect print errors?
How to get the default Windows folders ?
How to Write a raw string of data to the printer?
How to create indexes with the TTable create function?
How to tell in code if my application is running on Windows NT ?
Why Non-blob column in table required to perform operation with Oracle ?
How to Determine if a combobox is in dropped state?
What is the procedure to connect delphi application to ms access database?
How to Display the selected row of a DBGrid in a different color?