Vote UpVote

On the Delphi TCommandParser class for parsing command-lines and arguments (via: Suggestions for how to define command line parameters – Stack Overflow)

The Wiert Corner – A while ago, I posted the below StackOverflow answer. Recently a friend asked me about command-line parsing in Delphi, so here is the re-run: Delphi contains a really nice unit called CommandParser with a TCommandParser class that does commandline parsing for you. Since it has virtually no documentation, here are a few things to get started. I have a HiddenExecutable example at our open source bo repository. Basically you: setup a TComponent that contains the properties you want to expose as commandline parameters (that is THiddenExecuteSettings in the HiddenExecuteSettingsUnit a commandline ...
Favorite? Off-Topic? jpluimers @ 2015-05-13 07:00


Visits: 1446
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Primoz Gabrijelcic
Radosław Kokoć
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)