Hey all,

I've got a logon script and in there I've got a UDF to map drives.
The only problem is that with the Use command it returns 1's everytime it maps a drive...

This is the statement:
Code:
Use $Drive "\\" + $Server + "\" + $Share



I've also tried adding a $ = in front of the statement but I then get an "Error in expression".

Has anyone got any ideas how I would get around this? I can post the UDF if required.