Horje
c# open explorer and select file Code Example
c# open explorer and select file
// suppose that we have a test.txt at E:\
string filePath = @"E:\test.txt";
if (!File.Exists(filePath))
{
    return;
}

// combine the arguments together
// it doesn't matter if there is a space after ','
string argument = "/select, \"" + filePath +"\"";

System.Diagnostics.Process.Start("explorer.exe", argument);




Csharp

Related
C# string is all zeros Code Example C# string is all zeros Code Example
unity get refresh rate Code Example unity get refresh rate Code Example
vs 2022 access to path denied Code Example vs 2022 access to path denied Code Example
how to preset an array c# Code Example how to preset an array c# Code Example
c# soundplayer playlooping Code Example c# soundplayer playlooping Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11