批处理也有GUI LOGO,(调用IE)请高手们来完善它吧
》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
set WshShell = Wscript.CreateObject("Wscript.Shell")
set ie=wscript.createobject("internetexplorer.application","event_")
ie.fullscreen=1
ie.width=300
ie.height=100
ie.navigate "c:\1.htm"
ie.left=fix((ie.document.parentwindow.screen.availwidth-ie.width)/2)
ie.top=fix((ie.document.parentwindow.screen.availheight-ie.height)/2)
ie.visible=1
wscript.sleep 3000
ie.quit
》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
这段是VBS,是从网上找的。尝试了下。可以用IE来显示本地的网页。样式像logo。它的主要问题是c:\1.htm。一定要是绝对路径。连同目录的也不行。VBS有目录变量的什么可以加的话,那就太好了。谢谢。
请教高手们来完善它吧。
》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
set WshShell = Wscript.CreateObject("Wscript.Shell")
set ie=wscript.createobject("internetexplorer.application","event_")
ie.fullscreen=1
ie.width=300
ie.height=100
ie.navigate "c:\1.htm"
ie.left=fix((ie.document.parentwindow.screen.availwidth-ie.width)/2)
ie.top=fix((ie.document.parentwindow.screen.availheight-ie.height)/2)
ie.visible=1
wscript.sleep 3000
ie.quit
》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
这段是VBS,是从网上找的。尝试了下。可以用IE来显示本地的网页。样式像logo。它的主要问题是c:\1.htm。一定要是绝对路径。连同目录的也不行。VBS有目录变量的什么可以加的话,那就太好了。谢谢。
请教高手们来完善它吧。


