|what's wrong with my batch file?|
i have a batch file that should search for 3 (or more) files and if found them goto specified command
for /f "tokens=*" %%A in ('dir /b _344a.jpg;final.jpg;_halph.png') do (
if "!fileName!" equ "" (set goto found) ELSE (set goto notfound)
can you test it please? you can replace those last 4 fines with below lines to see result faster
why both (txt) file create?
i want if files found correct command execute and not both of them. what's wrong?
can you fix it or write a new batch file for me please?