diff --git a/src/Program.cs b/src/Program.cs index 5d4b417..57a93d2 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -86,7 +86,7 @@ private static void Main(string[] args) Help(); } int lastIdx = args.Length - 1; - string downloadDirectory = args[lastIdx].Trim(Path.GetInvalidFileNameChars()).Trim(Path.GetInvalidPathChars()); + string downloadDirectory = args[lastIdx].Trim(Path.GetInvalidPathChars()); Console.WriteLine("Download directory: " + downloadDirectory); string[] urls = new string[lastIdx - j]; for (int i = j; i < lastIdx; ++i)