Please either post the full script or download kixstrip tool from MCAs site.

Somewhere in your script you have an incomplete command, normally caused by either a missing quote or one too many quotes, or quotes in the wrong place.