Windows users tend to encounter various problems whenever they try to perform such as deleting their files. The kind of solutions such as renaming the file too might not work always for you. It is because of the fact that the file you must have been using might be functioning still rightly, but still the solution might not be working for you.
Remember that every path is known to be 256 characters long. Exceeding the default length will result in several problems for you at the time of deleting, modifying and renaming. Hence, the solution of renaming too will not work for you usually. Try reducing the path by decreasing the number of folders.
Moving the file to the nearest possible folder to the drive is one of the best solutions that you can implement. Try deleting the file now, which should resolve the issue successfully. Prefer only those sub folders that start from the drive in order to ensure that the characters included are within the allowed range.
Close the program before moving else the process cannot be completed. Typically, you will come across messages detailing that the file is still in use. Hence, follow all the steps carefully to resolve the issue successfully.