I\'m looking for a way to close a Windows explorer window that\'s open to a certain folder. Say c:\\users\\bob\\folder. I can close all explorers with the code below, but th
I would try importing user32.dll and calling FindWindow or FindWindowByCaption, followed by a call to DestroyWindow.
Info about FindWindow is here: http://www.pinvoke.net/default.aspx/user32.findwindow