バッチ ファイルの FOR ループを理解しようとしています。このコード:
FOR /F %%V IN ('bcdedit') DO @echo %%V
pause
exit
次の出力が得られます。
C:\Users\me\Desktop>FOR /F %V IN ('bcdedit') DO @echo %V
The
Access
C:\Users\me\Desktop>pause
Press any key to continue . . .
bcdedit は、ブート マネージャーを構成するプログラムです。コンソールで bcdedit を実行すると、次のようになります。
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
description Windows Boot Manager
locale en-US
inherit {globalsettings}
integrityservices Enable
default {current}
resumeobject {5af9a946-5290-11e3-bd93-d2aed7e9b7a5}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 8.1
locale en-US
inherit {bootloadersettings}
recoverysequence {5af9a948-5290-11e3-bd93-d2aed7e9b7a5}
integrityservices Enable
recoveryenabled Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
resumeobject {5af9a946-5290-11e3-bd93-d2aed7e9b7a5}
nx OptIn
bootmenupolicy Standard
useplatformclock Yes
「The」と「Access」という言葉はどこから来たのですか?