set str=nihao88nihao echo %str:88=33% 结果为nihao33nihao 这种方法不能替换'=',而且88、33不能是变量比如%var%!var!等,但可以是参数比如,%1,%2