怎么用vbs实现将剪切板的unix格式内容处理成pc格式

小编给大家分享一下怎么用vbs实现将剪切板的unix格式内容处理成pc格式,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!

set ws=createobject("wscript.shell") 
set fso=createobject("scripting.filesystemobject") 
Set objIE = CreateObject("InternetExplorer.Application") 
objIE.Navigate("about:blank") 
s = objIE.document.parentwindow.clipboardData.GetData("text") 
objie.quit 
set file=fso.createtextfile("tmp.txt") 
file.write s 
file.close 
ws.run "cmd /c more tmp.txt>test.txt",0,true 
fso.deletefile "tmp.txt" 
ws.run "notepad.exe test.txt"

看完了这篇文章,相信你对“怎么用vbs实现将剪切板的unix格式内容处理成pc格式”有了一定的了解,如果想了解更多相关知识,欢迎关注行业资讯频道,感谢各位的阅读!