Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据示例,我可以替换,为m,
,
m
@set str=abc,xyz @echo %str:,=m%
但是,我不能用 & 号替换它,
@set str=abc,xyz @echo %str:,=&%
@echo %str:,=^&%
你需要逃避它