I know how to check if there are removable disks connected with a CMD command
wmic logicaldisk where drivetype=2 get deviceid, volumename, description
But now I would like to make a batch that checks if there's any removable disks connected, and if so, then it would execute another command or run another batch.
How would I do this?