1. 保存成.bat文件 2.创建快捷方式放至c盘system32目录下 3.win+r 输入.bat文件名即可 cd /d E:/ProgramFiles/javatool/maven explorer .