diff --git a/SpotifyAPI/Local/SpotifyLocalAPI.cs b/SpotifyAPI/Local/SpotifyLocalAPI.cs index a39e1c9e..8d46c86a 100644 --- a/SpotifyAPI/Local/SpotifyLocalAPI.cs +++ b/SpotifyAPI/Local/SpotifyLocalAPI.cs @@ -248,7 +248,7 @@ namespace SpotifyAPI.Local public static void RunSpotify() { if (!IsSpotifyRunning()) - Process.Start(string.Concat(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"\spotify\spotify.exe")); + Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"spotify\spotify.exe")); } /// @@ -257,7 +257,7 @@ namespace SpotifyAPI.Local public static void RunSpotifyWebHelper() { if (!IsSpotifyWebHelperRunning()) - Process.Start(string.Concat(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"\spotify\data\spotifywebhelper.exe")); + Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"spotify\data\spotifywebhelper.exe")); } } }