level 1
中国巨龙觉醒
楼主
不用新建。谢谢了
set fso=createobject("scripting.filesystemobject") : name=1
Dim na
'na=Inputbox("请输入拓展名:","拓展名","txt")
na="txt"
while fso.fileexists(name&"."&na)=true
name=name+1
wend
set o=fso.opentextfile(name&"."&na,2,true)
set hf=Createobject("htmlfile")
wind=hf.parentwindow.clipboarddata.getdata("text")
o.writeline wind : o.close
2019年07月15日 06点07分
1
set fso=createobject("scripting.filesystemobject") : name=1
Dim na
'na=Inputbox("请输入拓展名:","拓展名","txt")
na="txt"
while fso.fileexists(name&"."&na)=true
name=name+1
wend
set o=fso.opentextfile(name&"."&na,2,true)
set hf=Createobject("htmlfile")
wind=hf.parentwindow.clipboarddata.getdata("text")
o.writeline wind : o.close