![]() |
ShellExecute kommt nicht mit %USERPROFILE% klar
Habe das Problem, dass er scheinbar %USERPROFILE% etc. nicht auflösen kann.
Was kann man da machen? |
Re: ShellExecute kommt nicht mit %USERPROFILE% klar
|
Re: ShellExecute kommt nicht mit %USERPROFILE% klar
Du entwickelst dich zu meinem Personal Trainer hier.
Na hoffentlich kommt am Ende des Monats nicht die Rechnung :roll: Das funktioniert super. MathiasSimmack liefert in einem anderen Thema auch die passende Delphi-Funktion:
Delphi-Quellcode:
function ExpandEnvStr(const szInput: string): string;
const MAXSIZE = 32768; begin SetLength(Result,MAXSIZE); SetLength(Result,ExpandEnvironmentStrings(pchar(szInput), @Result[1],length(Result))); end; |
Re: ShellExecute kommt nicht mit %USERPROFILE% klar
Zitat:
|
Re: ShellExecute kommt nicht mit %USERPROFILE% klar
[OT]
*ich schmeiß mich weg* [/OT] |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:25 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz