Einzelnen Beitrag anzeigen

hathor
(Gast)

n/a Beiträge
 
#6

AW: Problem mit Umgebungsvariable

  Alt 16. Sep 2013, 13:38
Oder so:

Delphi-Quellcode:
VAR hd, hp : STRING;
BEGIN
hd:= GetEnvironmentVariable('HOMEDRIVE');
hp:= GetEnvironmentVariable('HOMEPATH');
Memo1.lines.add(hd+hp+'\Desktop');
  Mit Zitat antworten Zitat