导出所有环境变量及值 set >> env.txt 追加某个环境变量的值 比如把%hadoop_home%/bin路径添加到PATH中 set PATH=%PATH%;%hadoop_home%/bin