📜  如何将 findstr 设置为新变量 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:35.250000             🧑  作者: Mango

代码示例1
set result=
for /f %%i in ('findstr hw.ramSize %userprofile%\.android\avd\Nexus_4_API_23.avd\config.ini%') do (
    rem  set getRam="%%i"
    rem  set setRam=%ramValue%
   set result=%%i
 )
echo %result%