求一个批处理
在一个文本文件succ.txt中,
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\VIDEO]
"\\Device\\Video1"="\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Video\\{03F049C5-222F-4C2F-B053-1E62A4209B73}\\0001"
"MaxObjectNumber"=dword:00000004
"\\Device\\Video0"="\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Video\\{03F049C5-222F-4C2F-B053-1E62A4209B73}\\0000"
"\\Device\\Video2"="\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Video\\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\\0000"
"\\Device\\Video3"="\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Video\\{8B6D7859-A639-4A15-8790-7161976D057A}\\0000"
"\\Device\\Video4"="\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Video\\{DEB039CC-B704-4F53-B43E-9DD4432FA2E9}\\0000"
"VgaCompatible"="\\Device\\Video2"
"\\Device\\Disc"="\\REGISTRY\\Machine\\System\\CurrentControlSet\\Services\\TSDDD\\Device0"
要求提取出第一个{ 和 } 中的字符,赋给一个变量中,并存在一个txt文件中
后面的{ 和 } 不用管,,,谢谢,救命的啊