Play a file with .bat

I am trying to associate a URL given to me by Windows Media Services on Windows Server 2008 R2 with a program called Epicor.

The URL links to a video that is being broadcasted. It plays just fine if I take the URL and put it in: Windows Media Player->Open URL. However, Epicor will not allow me to open a URL.

I created a .bat file as follows:
start mms://server/publishingpoint/videoname.wmv. This worked but Epicor will only allow me to run a .bat file from the local pc. In my environment this is not ideal. Any ideas of ways around this? (HTML, JavaScript, etc)
2 answers Last reply
More about play file bat
  1. Scripted an HTML code, worked freaking great. I'll post the code when I'm around. Doubt anyone will ever be in this situation though.
  2. <!DOCTYPE html>
    <html>
    <head>


    </head>

    <body style="background:black;">

    <div style="margin:0px auto 0px auto;text-align:center;">

    <embed src="VIDEO URL" quality=high autostart="true" hidden="false" loop="false" style="width:600px;height:400px;" NAME=" VIDEO NAME" ALIGN="center">

    </div>

    <img src="COMPANY LOGO FILE LOCATION" style="width:20%;height:20%; margin: 20px auto 0px 50%;text-align:center;position:relative;left:-100px;" alt="COMPANY NAME" />

    </body>

    </html>


    Will look like this: http://tinypic.com/r/10nwzfq/5
Ask a new question

Read More

Windows Business Computing