[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Sharepoint 2013 - Run a batch file or VBS file

Posted on 2014-08-13
Medium Priority
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 22

Accepted Solution

Haresh Nikumbh earned 2000 total points
ID: 40259551
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

ID: 40259579
Thank you!

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Several part series to implement Internet Explorer 11 Enterprise Mode
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Suggested Courses

834 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