SyntaxFix
Write A Post
Hire A Developer
Questions
string filePath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); string extension = ".log"; filePath += @"\Error Log\" + extension; if (!Directory.Exists(filePath)) { Directory.CreateDirectory(filePath); }