So many errors in my computer are 99% of the time, they are due to the explorer. XE is stupid. I can stop them manually, but I was thinking that I could be able to create a program that automatically closes and starts every 10 minutes or so, so I have a problem with it is not. The code I have not worked on, but I will keep it anyway:
foreach (System.Diagnostics.Process myProc in System.Diagnostics.Process.GetProcesses ()) {if (myProc. Name == "explorer.exe") {myProc.Kill (); }} When I run it, absolutely nothing happens. Visual Studio does not provide any errors, the program does not crash, etc. It does not do anything
please avoid using it:
Var explorers = Process.GetProcessesByName ("Explorer"); Foregoing (This Explorer In The Searcher) {This Explorer. Kill (); } Edit: As noted in the famous comments.
Comments
Post a Comment