Главная страница | назад





Article #27703: How to find what the user path is for their Environment Variables.

QUESTION:

How can I get the path of the different Environment Variables in Windows2000?

ANSWER:

There is a function call that returns a string. You can use it in a button click and see that it returns the path of the variable you choose.

procedure TForm1.Button3Click(Sender: TObject);
begin
ShowMessage(GetEnvironmentVariable('Temp'));
end;

Last Modified: 31-AUG-01