C# Check if directory or file?
132655
Better way to check if a Path is a File or a Directory?
24129
Compare directories but not content of files
21438
Determining if a folder is shared in .NET
83490
C# How can I test a file is a jpeg?
68020
How do I check if a given string is a legal/valid file name under Windows?
12929
How can I determine file type without an extension on Windows?
28236
How to check the count of .txt files in a folder (dir command)?
82693
How to test if a file is a directory in a batch script?
8073
How can I get the list of files in a directory using C or C++?
53439
How do I know which file a program is trying to access?
1949
How do I check whether a file exists without exceptions?
93046
How to see if the directory exists?
37977
Determine if relative or absolute path in shell program
101696
How can one get an absolute or normalized file path in .NET?
34741
How can I test if I can write to a filehandle?
10074
In C# check that filename is *possibly* valid (not that it exists)
8132
Monitoring contents of files/directories?