
CODE: [Copy to clipboard]@echo off
for /f "tokens=1*" %%i in (1.txt) do (
if "%%i"=="DID" echo %%i %%j>>2.txt
if "%%i"=="Revision" echo %%i %%j>>2.txt
if "%%i"=="Revision" echo %%i %%j>>2.txt
)
pause
CODE: [Copy to clipboard]find "DID :" 1.txt | find ":">2.txt
find "Revision :" 1.txt | find ":">>2.txt
find "Subsystem DID :" 1.txt | find ":">>2.txt
| Quote: | |
|
| Quote: | |
|
CODE: [Copy to clipboard]type 1.txt|fond "DID">2.txt
type 1.txt|fond "Revision">>2.txt
type 1.txt|fond "Subsystem DID">2.txt
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |