Today on my way to work I was working on a button for my Imageviewer. The button was supposed to open the download folder to which the user had chosen to save his/her images.
//Go to the specified folder
var runExplorer = new System.Diagnostics.ProcessStartInfo();
runExplorer.FileName = "explorer.exe";
runExplorer.Arguments = @"C:\Downloads\";
“explorer.exe” here refers to the Windows Explorer and its arguments are equal to the path where we want to go. It’s a fairly simple script but very useful.
Today’s song (Click for Spotify link)