第二组命令,是文本操作的,替换文本内容
' 2>nul&cls&dir /s/b/a-d "11112222\*.m3u8"|cscript -nologo -e:"vbs" "%~0"&exit
set fso=CreateObject("Scripting.FileSystemObject")
set ws=wsh.stdin
do
f=ws.readline
read=fso.opentextfile(f).readall
result=replace(read,"ABC","123")
fso.createtextfile(f).write result
loop until ws.atendofstream