(Batch) How to check if `%1` is a file or a folder?
82693
How to test if a file is a directory in a batch script?
47396
File and directory comparison tool?
16958
How do I get the directory that a program is running from?
65318
How to do something to each file in a directory with a batch script
153428
Bash script: check if a file is a text file
131773
Compare files that are in directory 1 but not directory 2?
150358
How to check whether a particular directory is mounted?
116434
How to identify the file type of a file?
88494
How to check directory is empty?
12929
How can I determine file type without an extension on Windows?
138961
In Bash, how can I check if a string begins with some value?
76966
How to use if - else structure in a batch file?
85877
How to determine what filesystem a directory exists on?
93046
How to see if the directory exists?
25534
Checking if a directory exists in Unix (system call)
24129
Compare directories but not content of files
22156
How do I tell if a regular file does not exist in Bash?