All I'm getting as far as an error message is whatever shows up on the screen. And it's not really much of a message, all I'm seeing is "The system cannot find the file type". On the plus side, the previous error, "The system cannot find the path specified.", is gone. However now I don't get anything logged in the cacls.log file.... 15 min later, I have figured out what's causing my problems. It's the ' around 'type caclslist.txt' in the logging line. Everytime it's there it will log whatever it finds but it'll duplicate. If I pull the ' then it will no longer duplicate but give the "The system cannot find the file type" error message and won't log them.
Little something on the side here too, hopefully this one won't cause so much problem. I also want to have it setup to output any files it deletes or renames to the log file too. Here is the code I've got for both of those respectively.
for /f %%a in (caclslist.txt) do echo y|del "%%a" -y
for /f %%a in (caclslist.txt) do echo y|ren "%%a" "%%a".bad