From Javascript? You can’t. It’s a security risk. Think about it – would you want every website to be able to run programs on your PC?
More Related Contents:
- What is the difference between client-side and server-side programming?
- How to create a file in memory for user to download, but not through server?
- How to export JavaScript array info to csv (on client side)?
- Sending emails with Javascript
- Image resizing client-side with JavaScript before upload to the server
- Accessing control client name and not ID in ASP.NET
- Is it possible to check dimensions of image before uploading?
- Single Page Application: advantages and disadvantages [closed]
- Catch all JavaScript errors and send them to server [closed]
- how to make sure only my own website (clientside code) can talk to Firebase backend?
- IF Statement Always True
- How do I concatenate JavaScript files into one file?
- Can you get a public Facebook page’s feed using Graph API without asking a user to allow?
- Pagination: Server Side or Client Side?
- Removing elements with Array.map in JavaScript
- Save to Local File from Blob
- AngularJS: Understanding design pattern
- Image brightness detection in client side script
- Getting the text from a drop-down box
- How to store persistent data client side
- Reading line-by-line file in JavaScript on client side
- Exploiting JavaScript’s eval() method
- How can I create a file for storage on the client side with JavaScript?
- Why split the tag when writing it with document.write()?
- What is the “best” way to get and set a single cookie value using JavaScript
- JavaScript: Simple way to check if variable is equal to one of two or more values? [duplicate]
- Handling key-press events (F1-F12) using JavaScript and jQuery, cross-browser
- How do I persist a ES6 Map in localstorage (or elsewhere)?
- How can I access Google Sheet spreadsheets only with Javascript?
- How does javascript async/await actually work?