--- lang: ja-jp breaks: true --- # `.NET Core` C# で 関連付けられたアプリを開く 2021-10-19 > .NET Coreで関連付けられたアプリを起動できない【改訂版】 > http://mag.autumn.org/Content.modf?id=20190617143252 ```csharp= public static void ExcelProcessStart(string strFilePath) { #if NET var startInfo = new ProcessStartInfo("excel", "\"" + strFilePath + "\""); startInfo.UseShellExecute = true; Process hProcess = Process.Start(startInfo); #else Process hProcess = Process.Start("excel", "\"" + strFilePath + "\""); #endif } ``` ###### tags: `.NET Core` `C#` `Process.Start`