vbs
atxt=".a.txt"btxt="..txt"oldstr="abc"newstr="zzz"Setfso=Wscript.CreateObject("Scripting.FileSystemObject")setf=fso.opentextfile(atxt)s=replace(f.readall,oldstr,newstr)f.closesetr=fso.opentextfile(btxt,2,true)r.writesmsgbox"完成!"Wscript.quit
互助互利,请及时点击【采纳回回答答】