You don't have to Dim $action... Kixtart did it for you when you added it to the command line. You might also put quotes around your values - "test", just to be sure.

Edited by Allen (2009-03-25 08:58 PM)