I can confirm

RUN "NET USE U: \\advglobal\@USERID$"

Works.

I have looked at the other bbs messages, and it does seem confusing!

Can anyone suggest a good book covering scripting on Windows machines?

Cheers

Rob