Can someone please tell me what's wrong with this FOR loop?
问题 Apologies if duplicate, but no other answers so far have helped. All I'm trying to do is loop through the files in a folder, and rename the last part of the file/extension. Simply put - there could be 1-90 files, [filename]_01 - [filename]_90, and each day (via windows event scheduler) the number has to increment by one. Nothing I do seems to achieve this. The files are also meant to behave slightly differently when they hit certain milestones (30-60-90) but this I believe should already work