This is related to http://bugs.freepascal.org/view.php?id=22751 - What FPC/Lazarus functions are available to parse a command line (where parameters begin with a dash)? - What function can split an argument of the type name=value or option value Stephano