Ah well like i said i copied your rename code from the exiftool.pl
and put it in a simple script.
keeping the names like they are
and that works oke. so it mut be something that happens before that makes the file cannot be renamed.
i would think.....
I never used perl so have difficultys reading all, otherwise i could try to debug myself, wich i am trying anyway ....
my guesses . some program in my latop like a firewall virusscan windows defender is still holding the file
i tried to put a delay 10 before the rename i did not help
other idea the file is opened and locked by the prog itself
i tried to make a file handle did open fhandel filename
and then close fhandel filename
did allso did not give a soluytion
i allso tried to lock and unlock it before did not help eather
but as said this is the first time i look into perl so....
(4)
]
