예제 #1
0
        private static void ChangeCurrentDirectory(Directory destinationDirectory, IDrive drive, IOutputter outputter)
        {
            bool success = drive.ChangeCurrentDirectory(destinationDirectory);

            if (!success)
            {
                outputter.PrintLine(SYSTEM_CANNOT_FIND_THE_PATH_SPECIFIED);
            }
        }