There's no cleaner way to do this?
I'd prefer to have a line that just passes an argument.

Here's my scenario:
Microsoft's IfMember.exe does not work very well, it's especially delerious if you read "across" domains. I can use the ingroup function of kix to create a custom ifmember.
I'd like to make a line like this: ifmember "Domain\MyGroup"

not ifmember var="Domain\MyGroup"