Im pretty sure even if you get the code correct that it will not work on NT 4.0 because of the inability to map deep mappings. Can only map to a share. So...

quote:

USE h: "\\server\user\@userid"

Will only work if @userid is actually shared on the server.

EDIT - Nevermind...Just noticed that the UDF uses subst instead of net use.

[ 12. February 2003, 00:03: Message edited by: CitrixMan ]