在cmd下dos中执行命令,对话框显示如下:同时存成文本文件到e:\22\99.txt
LCD Extended Status Utility
Status: Opening the LCD device
Status: LCD-C detected, bcdDevice 0x1
LCD Info: Model 0 Panel 8
LCD Info: USB FW Ver 1.1 GFX Ver 1.3 USB Boot Ver 1.0 GFX ISP 1.0
LCD X Status: Temp Now 28 Min 20 Max 44
LCD X Status: 5V PS 5.0 3.3V PS 3.3 Inverter Status 0x7f DVI Status 0x1
LCD X Status: Serial # 93051251 Minutes of Operation 485
LCD X Status: ResetReason 0x3 Inactivity 0 Activity 136 BadReadCount 0
请教如何把对话框或文本文件中第7行中的温度28值截取出来,赋值给A,然后就能对A进行比较和判定
LCD Extended Status Utility
Status: Opening the LCD device
Status: LCD-C detected, bcdDevice 0x1
LCD Info: Model 0 Panel 8
LCD Info: USB FW Ver 1.1 GFX Ver 1.3 USB Boot Ver 1.0 GFX ISP 1.0
LCD X Status: Temp Now 28 Min 20 Max 44
LCD X Status: 5V PS 5.0 3.3V PS 3.3 Inverter Status 0x7f DVI Status 0x1
LCD X Status: Serial # 93051251 Minutes of Operation 485
LCD X Status: ResetReason 0x3 Inactivity 0 Activity 136 BadReadCount 0
请教如何把对话框或文本文件中第7行中的温度28值截取出来,赋值给A,然后就能对A进行比较和判定
