Here's some more info although I didn't see anything specifically regarding a script that maps for a network drive - they recommend using UNC naming:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q257/1/74.asp&NoWebContent=1>Claude
>
>Thanks for your help. I don't think what you have sent me relates to my problem, but I have filed it away as it certainly looks useful for something!
>
>I have replied to Matin's reply to me, becase its more in line with what I was looking for - perhaps you could read that reply and see if you have any idea how to answer the questions in it?
>
>Thanks again for taking the time to reply.
>
>Chris