A
A
Andrew KreeZ2020-08-08 02:21:41
C++ / C#
Andrew KreeZ, 2020-08-08 02:21:41

How to open a folder in c#?

I tried to open the folder with: System.Diagnostics.Process.Start(***) but that only opens files.
I would like to open exactly the folder in the specified directory.

Note: I want to open a folder, not read or get data from it. I need to open a "window".

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
justslipknot, 2020-08-08
@guest_default

Process.Start("explorer.exe", "путь к папке");

Example

Process.Start("explorer.exe", "C:\");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question