Und wenn du die Parameter nicht an 'ne bestimmte Position bindest?
Delphi-Quellcode:
For i := 1 to ParamCount do Begin
If ParamStr(i) ... Then ...
If ParamStr(i) ... Then ...
If ParamStr(i) ... Then ...
...
End;
z.B.
Delphi-Quellcode:
For i := 1 to ParamCount do Begin
If ParamStr(i) = '-a' Then MachWas;
If ParamStr(i) = '-b' Then MachWasAnderes;
If Copy(ParamStr(i), 1, 2) = '-c' Then WachWasMitWert(Copy(ParamStr(i), 3, Length(ParamStr(i))));
...
End;