I want to delete scheduled tasks that start with "Adobe Acrobat" eg "Adobe Acrobat 123","Adobe Acrobat 456","Adobe Acrobat 789"
schtasks /Delete /TN Adobe* /F
This command fails to find any tasks cos its literally searching for the taskname "Adobe*"
for /f %%x in ('schtasks /query ^| findstr Adobe') do schtasks /Delete /TN %%x /F
This works only for tasknames without space, eg only finds taskname if its "AdobeAcorbat123"
How can I delete all scheduled tasksnames starting with "Adobe" and containing space?