@echo offnet use * /del /ynet use \192.168.2.1 /user:wr@echo off先进行删除所有,然后在进行映射,按照部门来,不同的部门可能需要映射的share也不一样,如果全公司映射的都是一个share的话,那就上面的2个命令即可