So i have created a html code that displays an icon that when clicked opens a .cmd script i have created. the only problem is that when you click the button it asks if you want to run or download where i want to automatically run.
So i was thinking do i need to point at a cmd file or can i not just put that code straight into the website?
incase i havnt explained this very well here is the code i am using:
on my website (which is actually sharepoint):
<a href="http://sharepointsite/library/file.cmd"><img src=http://sharepointsite/libaray/image.png alt="appname"</a>
the code within the file.cmd:
start /d "C:\Program Files\Microsoft Office\Office12" excel.exe
(this opens excel as we are removing access to the start menu)
So can instead of opening a cmd file can i not just do somthing like "on button click run the following code" ?
View Complete Post