Open local machine files via Javascript

Asked

Viewed 59 times

1

I need to simply run a local file via Javascript.

For example, in the C# I have the System.Diagnostics.Process.Start("C:\\teste.txt") which will open in the notebook the teste.txt.

How do I open teste.txt javascript?

  • 3

    From a browser? No, it has security restrictions. Imagine if any website could run any executable on your machine...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.