OK, I have resolved the problem with the script running. You suggestion to put the files in %windir%, now it works. Apparently %windir% system was not in path. However now, I am unable to use the @USERNAME in my script. Do I need to use the renamed lmscript and/or RPC to fix this?

or should this work without that.

here is the lines giving me problems

dim $UN
$UN = @USERID + "$"
USE X: "\\ncnt5crpsrv1\" + $UN

Thanks again for all the help