I have added a script editor and created a button using jscript. My requirement is when I click on button it should open cmd prompt in user machine and run ipconfig. How to achieve this. Working on o365
If you want to open any windows installed application like notepad, cmd etc from a browser or website, you have work with custom url protocols. Please research about it. We need to register that custom url protocol in the registry. And afterwards if we type in that custom url in the browser it will open up the application. In your case you redirecting your button click to that url should work.