set pid = wmic process where "name like '%javaw%' and commandline like '%[sdk-minitor-1.0-RELEASE]%' " get processid echo pid taskkill -F /pid %pid%