回复 2# CrLf
不知是不是系统差异,我这里加上/f反而还有错误提示,- for /f "delims=" %%a in (^"=E5=AE=89=E8=A1=A3=E6=9F=9C=E9=97=A8=E5=B8=88=E5=82=85^") do set name=%%a
- call echo name=%%name: =%%
复制代码 去掉反而正常。- @echo off
-
- for %%a in (^"=E5=AE=89=E8=A1=A3=E6=9F=9C=E9=97=A8=E5=B8=88=E5=82=85^") do set name=%%a
- call echo name=%%name: =%%
-
- pause
复制代码
|