I'm building a custom console with a specialized set of commands for our environment. This console will have a working directory.
I'm toying with the possible [bad] idea of trying to link a windows explorer window's file location to the one in my application.
Such that:
cd somefolder
would navigate the windows explorer window to that folder.
Likewise going into a subfolder in explorer would communicate the information to my app such that I could change my working directory for the console.
Is something like this possible with C#? My app would trigger the opening of the window.
Clarification: I'm referring to a single explorer window that I spawn from my application, not multiple windows. As part of this I am presuming there a way to grab a "handle" to my specific explorer window. Normal ones would behave as normal.
The primary nuance is being able to navigate the already opened window to different locations, not just being able to spawn a window to an initial location.