Sharepoint 2013 - Run a batch file or VBS file

Posted on 2014-08-13
Last Modified: 2014-08-13
We have an internal Intranet site.  We have lots of batch files for end users to remove icons, add icons, install acrobat, etc.

We are in the process of setting up a Sharepoint 2013 intranet site and would like to be able to put these batch files in Sharepoint.. I changed the allow extensions to accept .bat and .cmd, I uploaded a simple batch file.  When I click on it instead of asking me to run is only allows me to save.

On our current intranet site we use .cmd to launch Crystal Reports in a viewer, when you click on it you can select Run.

I have tried adding .bat mime type to the Shaepoint IIS site and set security in IE to Intranet but I still get the save only dialog box.

Any way to change it or make it simpler? I dont want users downloading batch files then having to run them.
Question by:DMTechGrooup
    LVL 21

    Accepted Solution

    you have to set browser file handling permissive.

    please refer below link how to set browser file handing in share point 2013

    Browser file permissive
    LVL 24

    Author Closing Comment

    Thank you!

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
    Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
    This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
    How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now