The following is a quote from yiyesong on December 7, 2002 at 1:57:33:
In fact, you can also use IF EXIST C:\abc\. or IF EXIST C:\abc\*.*
In addition, the software LOCATE is the most powerful for finding directories and files.
It doesn't work!!
The above is only effective when there are files in the directory
It has no effect on empty directories!!!!
/NUL can judge empty directories!!!
So please talk about./NUL.... Thank you!