Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi DosCommand ohne exe (https://www.delphipraxis.net/118034-doscommand-ohne-exe.html)

taaktaak 30. Jul 2008 14:46

Re: DosCommand ohne exe
 
also, jetzt nicht die fertige Lösung: COMSPEC ist eine Umgebungsvariable, die den gültigen Namen des Interpreters enthält. Du musst also diese Variable auslesen, Stichwort GetEnvironmentVariable() - den Ergebnis-String musst du dann anstelle von 'cmd.exe' in deinem Aufruf verwenden.

ysveikata 30. Jul 2008 15:01

Re: DosCommand ohne exe
 
Geilo!

Hab ich gemacht und läuft prima... Nochmals danke!


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:47 Uhr.
Seite 2 von 2     12   

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