通过链接打开Windows资源管理 [英] Opening windows explorer via link

查看:155
本文介绍了通过链接打开Windows资源管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想提供通过内部网页,我对我们的业务发展打开Windows资源管理器(或至少查看目录的内容)的方式。还有,我们在内部网络上共享几台机器。我提供了一个文本输入字段允许用户输入他们要与给定行的数据库表关联的文件夹路径,我可以关闭存储信息,并创建的file:/// //10.10.5.10/Recipes/Pie 链接饼配方文件夹我们共同的机器之一。

I want to provide a means to open up Windows Explorer (or at least view the directory contents) via an internal webpage I've developed for our business. There are several machines which we share over the internal network. I've provided a text entry field for allow the user to enter the folder path they want to associate with a given row in a DB table and I can store that info off and create the file://///10.10.5.10/Recipes/Pie link to the Pie recipe folder on one of our shared machines.

链接正确呈现在页面上,如果我复制链接信息并将其粘贴到地址栏就会显示在Firefox或打开Windows资源管理器导航的页面,如果使用IE浏览器。

The link renders correctly on the page and if I copy the link info and paste it into the address bar it will display a navigable page in FireFox or open Windows Explorer if using IE.

但是,链接确实,如果你点击它直接我的网页上什么都没有。我怀疑这可能是与安全性和布劳尔,对不对?我见过别人的系统SharePoint页面的确实的工作,但是我猜想,有在浏览器中的SharePoint和网页之间的一些差异有关。右键单击链接并复制/粘贴它的变通到另一个标签会工作,我可能不得不忍受这一点,但我想知道如果任何人有任何建议或方法来处理这​​个问题。也许我只是做了错事,但我pretty确保它是浏览器的安全相关的。

However, the link does nothing if you click on it directly on my page. I suspect this might have something to do with security and the brower, right? I've seen a SharePoint page in someone else's system that did work, but I'd guess that has to do with some differences between SharePoint and a webpage in a browser. The work-around of right-clicking the link and copy/pasting it into another tab will work and I might have to live with this, but I was wondering if anyone had any suggestions or ways to deal with this issue. Perhaps I'm just doing something wrong, but I'm pretty sure it's browser-security related.

推荐答案

这似乎对我作为一个纯粹的Internet Explorer设置问题。

It seems for me as a pure Internet Explorer setting issue.

首先我建议你最好在路径中使用UNC或DNS名称的服务器,而不是IP的使用地址:使用文件:///// MYSERVER /食谱/饼文件://///myserver.mydomain.com/Recipes/Pie 而不是文件://// /10.10.5.10/Recipes/Pie

First of all I would recommend you better use UNC or DNS names in the path to the server instead of the usage of IP addresses: use file://///myserver/Recipes/Pie or file://///myserver.mydomain.com/Recipes/Pie instead of file://///10.10.5.10/Recipes/Pie.

其次,你应该更好地包括文件:///// MYSERVER 文件://///myserver.mydomain.com 甚至文件://///10.10.5.10/ 将本地Intranet,或者至少为受信任的站点区域:

Second you should better include the file://///myserver, file://///myserver.mydomain.com or even file://///10.10.5.10/ to the "Local intranet" or at least to "Trusted sites" zone:

那你应该确认安全区,以你映射的网址的设置。看看杂项组显示混合含有

Then you should verify the setting of the Security Zone to which you map the url. Look at the "Miscellaneous" group for the "Display mixed contain":

如果你有提示设置,您会看到警告:

If you would has "Prompt" setting you will see the warning:

在千方百计地打开链接文件:///// MYSERVER /食谱/饼

at every attempt to open the link file://///myserver/Recipes/Pie

如果你将有一些问题,我建议你在高级选项卡重置IE的设置:

If you would has some problems I recommend you to reset the IE settings in "Advanced" tab:

这篇关于通过链接打开Windows资源管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆