Autor Beitrag
Green
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 283

Windows XP Home
Delphi 6 Enterprise
BeitragVerfasst: Sa 11.02.06 09:09 
habe folgende frage:

es gibt ja immer wieder programme (eher verknüpfungen) bei denen man parameter mit -bla -blubb hinter die exe stellt. mich würde ma interessieren wie man die im Programm dann abfragt? weil sont ham die ja gar keinen sinn...

mfG Green
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Sa 11.02.06 09:46 
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Sa 11.02.06 09:49 
mit ParamStr(1) fängst du die Parameter ab (ParamStr(0)=Pfad der Exe)

//Edit: Mist warst schneller Fabian (ich hätte vlt. erst den Tab hier abarbeiten sollen, bevor ich die anderen genommen hatte) ;)