You could use system and the net use command.
Information about American English usage here and here. Floating point issues? Please read this before posting. — emc
In reply to Re: Windows drive letter mapping question by swampyankee in thread Windows drive letter mapping question by AnthonyC