I am attempting to delete redundant copies of WMA and M4A files in my iTunes media music folder, and I don't want to have to perform thousands of manual deletions. Each redundant copy has an appended parenthetical in its filename starting with a date, viz. "(2017_12_", so I am using the command
del /s <<path>>*(2017_12*.*
The cmd window returns each filename followed by "Access is denied." on the next line. I am running as administrator, I had just restarted, and nothing that obviously might have a hold on the files was running (I closed a couple of idle iTunes processes).
Is there something I can do to gain access to the files in the command line without a third-party application? Would a batch process, or something else native, allow me to do what the command line is not?