I have a large folder of BMP files and I want to write a script that will loop through all the files in the folder and convert all BMP files into jpeg. I want it to continuously run as it will be used on a production line where new BMP images will be uploaded regularly. Answer You can simply use