- 论坛徽章:
- 0
|
通过读取环境变量后获得如下结果
c:\Program Files (x86)\AMD APP\bin\x86_64;c:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;C:\adt-bundle-windows-x86_64-20140702\sdk\tools;C:\Python27;C:\jython2.5.4rc1;C:\Program Files\TortoiseSVN\bin;C:\program files (x86)\skype\Phone\
想通过正则表达式提取包含[platform-tools]的[C:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools],求大神 |
|