WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   delphi shell starten ? (http://www.wcm.at/forum/showthread.php?t=32231)

chrisne 05.10.2001 10:08

delphi shell starten ?
 
hi leute,

wie kann ich in delphi 5 eine shell von nt starten ??
ich will folgenden befehl ausführen:

ping 1.1.1.1 >%temp%\ping.txt

kann mir da wer weiter helfen ??

danke
chris

_m3 05.10.2001 10:46

ShellExecute !
 
Zitat:

uses ShellApi;
...
ShellExecute(Handle, 'open',
'c:\Windows\notepad.exe', nil, nil, SW_SHOWNORMAL);
Siehe auch http://delphi.about.com/library/weekly/aa082499.htm

HTH


Alle Zeitangaben in WEZ +2. Es ist jetzt 19:10 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag