View Full Version : nothing to do with video
bjorn toulouse
8th September 2004, 13:00
ok im trying to create a web page with a hyperlink to run a batch file automatically, the problem is that I get the file download dialogue box, is there any way to circumvent the dialogue box??
lark
8th September 2004, 13:09
do you mean that the batch file should be run on the server (in pc where the web server is running) or on the client (pc which you use to browse to that web page)?
some more info would be useful:
if server, which web server are you using?
if client, which browser & OS are you using?
regards
t :)
bjorn toulouse
8th September 2004, 13:18
sorry I'm bad for that, ok
web page is on our intranet
on the page I have a link to a batch file called training.bat that maps network drives to a cd tower that holds training videos and executes a file that plays them. It works quite well.
But when you press the link to the batch file in explorer it opens a dialoge box that promps for open, download or cancle. Unfortunatly even thogh the web page says in big letters press open. the users still press save to disk or cancle
hope this makes it a bit clearer
cheers Bjorn
bjorn toulouse
8th September 2004, 13:21
oops
the batch file is on a server (NT4)
client OS is XP SP1
browser is internet explorer 6
lark
8th September 2004, 13:52
not quite answering the question, but could you perhaps use a NW share amd have a link like
file://server.domain.com/share/videos/training.bat
on the web page?
regards
t :)
bjorn toulouse
8th September 2004, 14:16
unfortunatly it still brings up the dialogue box
ho hum time to surf the web once more for a solution, thanks for the help though
[storm-shadow]
8th September 2004, 17:39
4GuysFromRolla.com (http://www.4guysfromrolla.com/webtech/072199-2.shtml): This might help you out. It requires ASP, and the sort of action you are asking for can only be done, to my knowledge, with server side scripting.
If there is another way, I'd like to know, as well.
Mug Funky
8th September 2004, 18:16
i think you could do this with flash (maybe not new versions... sercurity features and such).
i believe it's "fscommand exec" to run an external prog. i made it work with exe files from web pages, but it's less than reliable.
unfortunately i haven't done php and asp and all that lark. i'd like to get some going for my own site, but am too lazy :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.