Hi,
I'm not sure if this is the best place to post this question so please forgive me if it's not.
I've got a for loop in a batch file that loops ".jpg" files and I'd like to change it to find ".jpg" and ".pdf" files.
Is this possible?
Any help or ideas will be greatly appreciated.Code:SET counter=0 FOR /r "e:\test\myfiles\" %%X IN (*.jpg) DO (set /a counter+=1) ECHO Copied %counter% of 5 file(s)
Regards Al




Reply With Quote