How to run / open a file using a program that is not associated in Windows with this type of file?

For example, there is a file main.html, you need to open it in Notepad, and not in the browser.

    1 answer 1

    System.Diagnostics.Process.Start("notepad.exe main.html");