for /f %%i in ('dir /b %tmp%\li*') do (
for %%k in (%tmp%\%%i\123.txt) do (
if exist %%k (
echo -ShowDeviceSlots >>%%k
echo -EnableMapToSiblings >>%%k
echo -AutoAdjustMacroMappingRange >>%%k
echo -NoVstStartupScan >>%%k
echo -NoAutoArming >>%%k
echo -EnableArm >>%%k
)
)
)
pause
exit
xp测试通过 你试试