A couple of questions to help us help you:
  1. Where are you specifing the logon script (user properties, local group policy)?
  2. What exactly is the command you are typing in the box?
  3. Have you checked the event logs for any errors during login?