用超链接打开"网上邻居"

liumoujie3 2006-11-09 04:30:24
请问有没有人用过超链接打开过“网上邻居”??比如
<a href="XXXXXXXXX">网上邻居</a>
然后可以直接点击进入??
...全文
237 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
Apq001 2006-11-09
  • 打赏
  • 举报
回复
楼上代码在我这里没通过,我用的是IE7。
ice_berg16 2006-11-09
  • 打赏
  • 举报
回复
<a href="file:///::{208D2C60-3AEA-1069-A2D7-08002B30309D}" target="_blank">网上邻居</a>
lwb111 2006-11-09
  • 打赏
  • 举报
回复
我认为可以通过ajax调服务台方法,在服务端方法里打开企业管理器
Apq001 2006-11-09
  • 打赏
  • 举报
回复
var shell = new ActiveXObject("WScript.Shell");
然后用shell对象可以执行很多操作,但需要客户端开放权限。
说明:
shell.Run(strCommand, [intWindowStyle], [bWaitOnReturn])
strCommand
String value indicating the command line you want to run. You must include any parameters you want to pass to the executable file.
intWindowStyle
Optional. Integer value indicating the appearance of the program's window. Note that not all programs make use of this information.
bWaitOnReturn
Optional. Boolean value indicating whether the script should wait for the program to finish executing before continuing to the next statement in your script. If set to true, script execution halts until the program finishes, and Run returns any error code returned by the program. If set to false (the default), the Run method returns immediately after starting the program, automatically returning 0 (not to be interpreted as an error code).

这种就跟点“开始”-->“运行”在那里输入命令差不多,但我不熟。

这种东西需要客户端权限,我向来不喜欢用。
GaoXX 2006-11-09
  • 打赏
  • 举报
回复
拜托能不能不说“个人”这两个字,你说“我认为”就完了,看见这两个字我直想抽......
Apq001 2006-11-09
  • 打赏
  • 举报
回复
个人认为没办法,网上邻居其实不是IE打开的,而是资源管理器,浏览器是不可能将资源管理器的运行权限放开的。

87,909

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧