string currentPath = Directory.GetCurrentDirectory(); if (!Directory.Exists(Path.Combine(currentPath, "ACH"))) Directory.CreateDirectory(Path.Combine(currentPath, "ACH")); //at this point your folder should exist