示例#1
0
    public static void SetURLPath()
    {
userChoice:

        Console.WriteLine(Prints.Blank());

        Console.Write(Strings.PATH + " " + Prints.Arrow());
        string path = Console.ReadLine();

        if (!Validator.IsValidDefaultPathRequest(path))
        {
            Prints.InvalidDefaultPath();

            goto userChoice;
        }

        DefaultFolder.CreateFile(path);

        Prints.Done();
    }