Mega Code Archive

 
Categories / C# Tutorial / Development
 

Start Internet Explorer and display the contents of the Favorites folder

using System; using System.Diagnostics; using System.ComponentModel; class MyProcess {         static void Main()    {       // Get the path that stores favorite links.       string myFavoritesPath = Environment.GetFolderPath(Environment.SpecialFolder.Favorites);       Process.Start("IExplore.exe");       Process.Start(myFavoritesPath);        } }