标题: [文本处理] 求指教批处理获取文本内容!跪谢! [打印本页]
作者: clock874 时间: 2017-5-22 14:07 标题: 求指教批处理获取文本内容!跪谢!
求帮忙获取文本中“{f5396ea7-045c-11e4-bddb-f0b50f7ec1fe}”这一串字符!叩谢!
Windows 启动管理器
--------------------
标识符 {bootmgr}
device partition=C:
description Windows Boot Manager
locale zh-CN
inherit {globalsettings}
default {current}
resumeobject {f5396ea7-045c-11e4-bddb-f0b50f7ec1fe}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 5
Windows 启动加载器
-------------------
标识符 {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale zh-CN
inherit {bootloadersettings}
osdevice partition=C:
systemroot \Windows
resumeobject {f5396ea7-045c-11e4-bddb-f0b50f7ec1fe}
nx OptIn
作者: ShowCode 时间: 2017-5-22 14:33
- @echo off
- for /f "tokens=2" %%i in ('type "1.txt" ^| findstr "resumeobject"') do (
- echo %%i
- )
- pause
复制代码
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |