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.
cmd /V:ONcmd.exeの新しいインスタンスを起動せずに、cmd.exe の実行時の変数展開を有効にする方法はありますか (通常は と入力して実行します)。
cmd /V:ON
同様に、他の設定/フラグをその場で変更できますか?
これを試して:
setlocal enabledelayedexpansion
もあります
setlocal enableextensions
これは。と同等ですcmd /E:ON。
cmd /E:ON
参照:setlocal /?。
setlocal /?
試す
setlocal ENABLEDELAYEDEXPANSION