create file "map.cmd" that contain this:
"net use %1 %2"
without quotes
now you can use it like this
map z: \\server1\share1
map y: \\server1\share2
this is suitable if parameters are frequiently changed. as you can see
this is not very different than usent net use itself
-------------------------
example two:
create single batch file mapAll.cmd that contains
net use z: \\server1\share1
net use y: \\server1\share2
this is most suitable if you do not change letters or network shares
I hope this helps
Galin Iliev[MCSD.NET]
www.galcho.com