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
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.