Hello I'm looking to write a batch file to check to see if there are any files of any type inside a given folder.
So far I've tried the following
if EXIST FOLDERNAME\\*.* ( echo Files Exist ) ELSE ( echo "Empty" )
I can get it to work if I know the file extension such as a txt file with the follwing
if EXIST FOLDERNAME\\*.txt ( echo Files Exist ) ELSE ( echo "Empty" )
Thank you for your help