Sprache: C#
Mit diesem Code können Sie Pfade mit dem Windwows Explorer öffnen.
Um Process.Start aufrufen zu können müssen sie [code]using System.Diagnostics;[/code] einbinden.
public void OpenPath(string path)
{
Process.Start("explorer.exe", path);
}
public void OpenPath(string path)
{
Process.Start("explorer.exe", path);
}
Alte URL:
/snippet/pfade-mit-explorer-oeffnen/3793
Ich habe mir erlaubt, den Snippet so zu ändern, dass er kompiliert.