Explorer.exe within a nNet Form

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 1 year, 8 months ago.

  • Author
  • #58159


    I am hoping to put together a small gui application written in powershell that will look like the following :



    Is it possible? this looks much cleaner than TreeView or some other clunky means of browsing through a folder structure.

  • #58160

    Don Jones

    Well, you can't "embed" Explorer.exe, no. The screen shot you shared is a FileOpen dialog, though, and you can certainly launch one of those.

    https://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog(v=vs.110).aspx is the documentation. This, like anything else GUI, is .NET programming (WinForms, in this case), not PowerShell per se, so you'll have to decide if it's in your wheelhouse or not.

You must be logged in to reply to this topic.