Found that when using
use g: '\\server\share$$' /user:'domain\'+$FirstDotLast
that error suggested invalid username/password - although username was OK and password was never requested.

When adding password to string it worked OK.

Tried gets $password but this only seemed to work when in debug mode. When not in debug mode you don't get chance to type anything in? I know there is a sleep/wait command it still does not allow you to enter any password.

Any ideas?

NJ