var FilesPath = Directory.GetFiles(@"d:\", "*.txt", SearchOption.AllDirectories);
Using ASP.NET/C#, how can I find all files that do NOT have any extension?
dir *. | find /V "."
Could that be used somehow with my C# code?
string dir = @"D:\Tmp";
var files = Directory.GetFiles(dir, "*.*", SearchOption.AllDirectories)
Where(f => !Path.HasExtension(f))
.ToList();
var fileInfo = new FileInfo("C:\test");