I have a small .exe file that I’d like to run on all files in a given directory. It is launched as follows “./myprogram.exe file” and converts my files into a different data type.
Now I want to build a python script, that runs this exe on all files in a given directory, including all subdirectories. I am totally new to python, so I have no clue how to do this.
Does anyone have suggestions how to do this? Do I need python or any other script language in the first place?
Thanks a lot!
On a linux box, I would have told you to use a
findcall, but the.exeseems to tell you are on windows.In python, you should use something like this