📜  如何在 powershell 中解析命令值 - Shell-Bash 代码示例

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

代码示例1
powershell -Command "(gc $env:userprofile\.android\avd\Nexus_4_API_23.avd\config.ini) -replace 'vm.heapSize=%getRam%','%setRam%' | Out-File -encoding ASCII $env:userprofile\.android\avd\Nexus_4_API_23.avd\config.ini"