可以用BAT或VBS逐个读取TXT文件中的单词并输出
像这样子:Tastegood!Takemywordforit!I'mnotnearlyasactiveasotherNeopianspecies,however.----...
像这样子:
Taste good!
Take my word for it! I'm not nearly as active as other Neopian species, however.
-------------------------------
Taste< good< Take< …… 展开
Taste good!
Take my word for it! I'm not nearly as active as other Neopian species, however.
-------------------------------
Taste< good< Take< …… 展开
2个回答
展开全部
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("C:\FSO\New Text Document.txt", 1)
temp = objFile.readAll
Set re = New RegExp
re.Global = True
re.IgnoreCase = false
re.Pattern = "[a-z'A-Z]+"
Set matches = re.Execute(temp)
For Each m In matches
WScript.stdOut.write m.Value & " "
wscript.sleep 1000 '让你有阅读的快感
next
求采纳。链灶蚂有问棚埋题随时联系辩源。
Set objFile = objFSO.OpenTextFile("C:\FSO\New Text Document.txt", 1)
temp = objFile.readAll
Set re = New RegExp
re.Global = True
re.IgnoreCase = false
re.Pattern = "[a-z'A-Z]+"
Set matches = re.Execute(temp)
For Each m In matches
WScript.stdOut.write m.Value & " "
wscript.sleep 1000 '让你有阅读的快感
next
求采纳。链灶蚂有问棚埋题随时联系辩源。
2011-03-29
展开全部
单词怎么排放的?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询