Can't delete copy of game/data files
I was trying to reinstall The Sims 4 on an external hard drive but for some reason it kept giving me errors. I tried deleting the the initial game files, the files that appear immediately after attempting to install the game (shown in image), but it wouldn't delete. I moved the files to another location in the same hard drive and tried downloading again and this time it worked but now I'm stuck with the first copy of the files that can't be deleted. I can't really tell if the old data files were corrupted but does anyone know how I can get rid of it from my hard drive?
Ok I tried your advice using Powershell Admin but once I entered the command you pasted, it said it wasn't recognizable. I did, however, accidentally found another solution to my problem. I just right-clicked on my external hard drive and clicked "Customize this folder..." and clicked Tools and Error Checking. It went through the process of repairing the entire drive and fixed the corrupted sims files as well so they're now able to be deleted.