UMMM
UMMM copied to clipboard
File command - using target name without specifying optional arguments which precede it?
For the File
command, is there any way to use the target_name
option without specifying interface names or a classes filter?
The docs show this:
Parameters <file_name> [interfaces] [classes_filter] [target_name] file_name file containing typelib. Can be relative to base path interfaces (optional) pipe (|) separated interfaces with or w/o leading underscore classes_filter (optional) pipe (|) separated filter for coclasses in file target_name (optional) surrogate file location in output manifest
Since the argument separators are just whitespace... I can't seem to leave those middle options blank but still add a target_name
, can I?
Is there some way to use an "all" wildcard for the middle two options?
(Looking at the code, I don't see a way...)
Thanks
Actually, it seems to work when I use a line like this:
File ..\..\path\to\dll\abc.1.2.3.4.dll | * abc.dll
Looking at the code I don't actually see why this works. Is this the best way?
Try quoting the empty strings like this
File UcsFP20.dll "" "" Dependency\UcsFP20.dll
Yes, the syntax got weird but this is what organic growth looks like I suppose. . .
That worked great, thanks! I just submitted a PR to add a note about that syntax to the readme.