G
Guest
Hi All,
In a windows batch file, there is a string str="H:\ I:\" (the delimiter
is a tab character). And I want to change the tab character in the string to
a comma, that is, changing the value of str to "H:\,I:\". I have tried using
the following command but it does not work:
set str=%str:^t=,%
Can anyone tell me what to do?
In a windows batch file, there is a string str="H:\ I:\" (the delimiter
is a tab character). And I want to change the tab character in the string to
a comma, that is, changing the value of str to "H:\,I:\". I have tried using
the following command but it does not work:
set str=%str:^t=,%
Can anyone tell me what to do?