command prompt下,使用set命令查看环境变量 使用set | grep "p4" 查看是否环境变量包含p4 转载于:https://www.cnblogs.com/kungfupanda/archive/2011/08/02/2124842.html