Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for /r %%imagefile2 in (%cd%/camera-2-*.jpg) do (
- set imagefile1=%%imagefile2:camera-2=camera-1%
- echo "Primary image file:"
- echo %imagefile1
- IF EXIST %cd%/%imagefile1 (
- echo "Good pair."
- ) ELSE (
- ECHO "Bad pair. Primary image file doesn't exist. Deleting second image file as well..."
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement