Sterling
DIIDevHeads IoT Integration Server
•Created by Sterling on 6/14/2024 in #middleware-and-os
Fixing 'Missing Operator' Error in Batch Script for Renaming JPG Files on Windows
I'm trying to rename image files (JPGs) on a Windows machine. I want to add an incrementing number (e.g., file1.jpg, file2.jpg, etc.) to each filename.
I wrote a batch script using a loop, but I'm encountering a 'Missing operator' error. Here's the relevant part of the script:
Can anyone help identify the issue causing the error? @Middleware & OS
7 replies