By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,486 Members | 1,024 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,486 IT Pros & Developers. It's quick & easy.

Open a file without asking prompt

P: 83

I want to open a file from javascript with the code,"file://///xxxxxxxx/xxxx/xx/freedom.exe"). It is opening preperly. But asking the prompt for open,save and cancel. I want to run the file without the prompt. Please help me.

Oct 6 '07 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 15k+
P: 16,027
Well, imagine if that were possible!

It's an executable, so you're going to get a prompt.

You could set your browser to the lowest security setting (not a good idea) or allow it to run any script without prompting, but I'm not sure if it would run the exe file without prompting.

I hope this is for your own use or for an intranet.
Oct 6 '07 #2

Expert 5K+
P: 5,821
Heya, samy.

Would you really want any web page to be able to launch an executable file on your hard drive without asking your permissions?
Oct 6 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.