Autor Beitrag
fuba
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 125

Win7
D7 Ent.
BeitragVerfasst: Di 12.09.06 17:03 
hi leute,

giibt es eine möglichkeit, ALLE möglichen Parameter aus einer *.exe auszulesen?

ich hab ja schon was nettes gefunden, das mir den paramter auslist mit dem die exe gestartet wurde.

www.delphi-forum.de/viewtopic.php?t=58360

aber ich würde gerne wie gesagt alle parameter die eine *.exe besitzt wiseen.

ist das irgendwie möglich?
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: Di 12.09.06 17:13 
moin,

ParamCount gibt dir die Anzahl der Parameter mit denen die Anwendung gestartet wurde zurück.
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Di 12.09.06 17:50 
Probiers mal mit CMDLine!

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 12.09.06 17:50 
Wenn Du jetzt sowas meinst, wie wenn Du edit /? auf einer Kommandozeile eingibst, dass dann eine Liste aller Parameter kommt, dann muss ich dich enttäuschen: Dafür gibt es keine Möglichkeit, da dies von jedem Programm einzen und häufig sogar unterschiedlich implementiert wird.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
fuba Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 125

Win7
D7 Ent.
BeitragVerfasst: Mi 13.09.06 10:17 
user profile iconBenBE hat folgendes geschrieben:
Wenn Du jetzt sowas meinst, wie wenn Du edit /? auf einer Kommandozeile eingibst, dass dann eine Liste aller Parameter kommt, dann muss ich dich enttäuschen: Dafür gibt es keine Möglichkeit, da dies von jedem Programm einzen und häufig sogar unterschiedlich implementiert wird.


@Danniolo & jakobwenzel
Ne das wars nicht was ich meine :)
Wie ich selbst ne cmdline in MEIN programm einfüge weis ich schon ;)

@BenBE
Genau das wollte ich wissen, schade das dies nicht geht :/

aber danke für eure antworten!