I'm trying to run a script with a command line variable like this:

Kix32 testscript.kix "WhattoPass"

How do I retrieve "whattopass" inside the script. I've tried reading %1 and It's not there.
Please help!!
Thanks.
Lee