set var=this-is-a-test ECHO I would like to convert the value of this variable to "this%_%is%_%a%_%test"
我尝试过:
SET VAR=%VAR:-=%_%%
但不起作用:(
请帮忙
batch string code batch-file
batch ×1
batch-file ×1
code ×1
string ×1