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.
Windows XP を使用しています。
私のバッチ (ファイル) コードには次のような行があります。
call echo %%x[%i%]%%
この行の出力を変数に保存したいのですが、その方法を誰か教えてもらえないかと思っていました。
それを変数に格納したいのなら、なぜそれをエコーするのですか?
これは仕事をする必要があります
call set myVar=%%x[%i%]%%