Im working in c# winforms, and my plan is to have a button which opens explorer, and shows the data.txt files im working with in my program. I havent really found anything, or any commands. I would appreciate some help :)
FileStream f = new FileStream("data.txt", FileMode.Open);
if (File.Exists("path"))
{
Process.Start(new ProcessStartInfo("explorer.exe", " /select, " + path/data.txt");
}
f.Close();
im kinda new to c#, so if i made some mistakes please correct me :d thanks in advance<3