diff --git a/AutoTools.DocBuilder/Program.cs b/AutoTools.DocBuilder/Program.cs index 583ab02..e4453dc 100644 --- a/AutoTools.DocBuilder/Program.cs +++ b/AutoTools.DocBuilder/Program.cs @@ -24,7 +24,9 @@ if (args.Length == 0) { } else { - filePath = args[0]; + var userPath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); + + filePath = args[0].Replace("~/", $"{userPath}/"); }