vbs大神帮我看看
怎么把un.txt里的内容:
okb=%%%
okb后面的所有内容
123456
最后变成okb=123456
最后保存为ok.txt
以下源码
Set fso=Wscript.CreateObject("Scripting.FileSystemObject")
set f=fso.opentextfile("f:\game\11\un.txt")
s=replace(f.readall,"11", "123456")
f.close
set r=fso.opentextfile("f:\game\11\ok.txt",2,true)
r.write s
Wscript.quit