禁用“您要运行或保存此文件"吗?信息 [英] Disable "Do u want to run or save this file" message

查看:134
本文介绍了禁用“您要运行或保存此文件"吗?信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我正在通过javascript运行.bat文件.当我启动应用程序并单击开始"按钮时,它将运行.bat文件,但在运行时会显示一条消息
您是否要运行或保存此文件",我想禁用该消息并以静默方式运行.bat文件.... plz帮助.
或者当我的asp.net应用程序启动时,有没有办法静默运行.bat文件.

Hello,
I am running .bat file through javascript. when i start application and click on start button it runs .bat file but at the time of running it gives a message
"Do u want to run or save this file", i want to disable that message and run .bat file silently....plz help.
or is there any way to run .bat file silently when my asp.net application starts.

推荐答案

否.

出于安全原因,每个下载的可执行文件都必须得到用户的批准.

你为什么要这样做?您不了解用户环境,甚至不了解客户端类型(PC,MAC,上网本,Kindle),因此甚至无法确定BAT文件是否可以正常工作...
No.

For security reasons, each executable downloaded must be approved by the user.

Why are you trying to do this? You do not have any knowledge of the user environment, or even client type (PC, MAC, netbook, Kindle) so you cannot even be sure that a BAT file would work at all...


这篇关于禁用“您要运行或保存此文件"吗?信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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