public string ImportPath(int op) { string workingPath = "/%void%/"; string path; switch (op) { case 0: break; case 1: path = IOUser.ConsoleReadPath(); if (path != "/%void%/") { File.Copy(path, Path.Combine(importDirectory, Path.GetFileName(path))); } return(workingPath); case 2: List <string> paths = IOUser.ConsoleReadDirectory(extensionTypes); if (paths[0] != "/%void%/") { foreach (string p in paths) { File.Copy(p, Path.Combine(importDirectory, Path.GetFileName(p))); } } return(workingPath); case 3: if (!Directory.EnumerateFiles(importDirectory).Any()) { IOUser.ConsoleError("Import directory is empty..."); Thread.Sleep(1500); IOUser.ClearConsole(); return(workingPath); } else { path = IOUser.ConsoleReadFileName(importDirectory, extensionTypes); return(path); } } return(workingPath); }