I want to get a batch file to continue if .txt files exist in the specified directory.
I tried this:
IF EXIST c:\test\*.txt GOTO END
<rest if batch file>
But this ran all the commands without .txt files.
Please could someone tell me how to do this?