C# – Launch notepad.exe and open a file

by on Feb.16, 2012, under News

The following example code snippet shows how to launch notepad and open a text file of your choice:

System.Diagnostics.Process.Start("notepad.exe", "config.xml");

Leave a Reply


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!