code:
SHELL '%COMSPEC% /c NFSNET logon server username password >NUL'
SHELL '%COMSPEC% /c NFSNET USE M: \\server\share\mmi_cli >NUL'

However, check whether this will work under Windows 9x/NT as these clients do not support deep mapping via the regular NET USE.
_________________________
There are two types of vessels, submarines and targets.