Autor Beitrag
lambruco
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 100

Win 2000/2000 Server/XP
D6 Prof.
BeitragVerfasst: Mi 28.05.03 20:44 
Hallo Forum,

wie kann ich bei einer Kommandozeilen Applikation einen Parameter
übergeben.

zB.: [prog] /[parameter]

Hat da mal jemand ein Beispiel ?

Lars
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 28.05.03 21:52 
meinexe -Hallo
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Do 29.05.03 09:42 
ausblenden Delphi-Quelltext
1:
ShellExecute(0,'open','prog.exe','/Parameter',nil,SW_ShowNormal);					

Abfragen mit ParamCount und ParamStr(x)

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
lambruco Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 100

Win 2000/2000 Server/XP
D6 Prof.
BeitragVerfasst: Do 29.05.03 11:17 
Titel: Danke
Sieht ja aus wie wie in C.
Werde ich gleich mal ausprobieren.
danke
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 29.05.03 15:05 
ShellAPI mit einbinden nicht vergessen.