お世話になります。
3つの変数に入った文字列で、文字列の置換処理を行いたいのですが、期待通りの結果になりません。
「%val:m=n%」形式を試していますが、正しい方法 or 他の方法はありますでしょうか?
OS:Windows10
set a=test set e=es set g=eapo rem 「teapot」と表示されてほしい echo %a% echo %a:e=g% echo %a:%e=%g echo %a:%e=g% echo %a%:%e%=%g% ↓実行結果 test tgst e=g e=g test:es=eapo

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/08/31 09:05
2021/08/31 09:52