The simple method is to check if you can use the attrib command.
Say you have a file located in C:\files\damnfile.exe and yet you cannot see it, but you know it is there
You can open up a command prompt and type the following
attrib -r -a -s -h c:\files\damnfile.exe
And hopefully you can easily delete it.
Now for those System Protected files that cannot be deleted even as Administrator because the TrustedInstaller service owns it..
Find out the location of the file, will use the above example again..
firstly in the command prompt type the following
takeown /f c:\files\damnfile.exe
This will give you ownership of the file, but it has yet to set the rights for you to delete it from the system, to do that type the following in command prompt..
cacls c:\files\damnfile.exe /G username:F
(/G and F have to be in caps)
Change username to your windows username, and this will give you the full rights to the file, and from there able to delete the file.
This will work with those Adobe files that are left behind and cannot be deleted.
I don't know if this sheds any light on the issue either...The directory path is basically a ton of Appdata directories within Appdata directories. The two or three files I actually needed were restored from a backup off of our system share..the backup program is Areca Backup if that makes a difference.
Or simply right click the folder and rename :P
As long as there is no process running from a file in the folder. If so you will have to kill that process and then delete the folder, or do it in Safe mode.
But, as I said, the file isn't the issue, I want to get rid of the entire directory but Windows can't delete it because the "directory path is too long". I fail to understand why Windows lets it be created in the first place if it's going to be too long, but hey, it's Microsoft.
Or just rename it in safe mode, and then delete it.
Again, I reeeeeaaaalllllllyyy do NOT want to have to resort to downloading a third-party application BUT if someone can link one that is malware-free and will easily be removed after use I would be extremely grateful.
You have a repeated amount of the same folder from the parent folder.
Like I said before it is best to do this in safe mode to eliminate the possibility that a file is being used or is running a process, it may not be doing it, but thats just to make sure.
And then you will have to navigate your way.
But sometimes just renaming the parent folder to something else, makes the situation easily dealt with.
Or you will have to manually go through each and every sub folder till you reach the last one and manually delete and go back and delete etc.
You can also get some old Windows XP boot disks, that have the OS bootable from CD, this will make it easier to simply delete the folders since it has no protection from it's own OS it is installed with.
There is good freeware apps like Total Commander or even 7zip.
While in 7zip's window, navigate to the first folder and Shift+Del the folder and it should remove them all.
Total Commander can do the same thing also.
Unfortunately you may have to resort to installing a 3rd party app, because windows as you know has limits and that is the reason you are getting that error.
if not (%1)==() cd %1
for /D %%i in (*) do if not %%i==_ ren "%%i" _
I will assume you know how to use batch file switches.
EDIT: Forgot to say what it does :P It will take you to the last folder from that parent folder. And then it is a simple use of either renaming each folder to a 1 letter character or deleting it. Until you get to the point of being under the Max_Path allowance.
Also even simply robocopy will work too.
Just make a rubbish folder in the parent directory of the folders giving problems, and then use
robocopy rubbish_foldername offending_foldername /mir
Once done, just use rmdir on both. And you should be fine that way also.
[Edited by DABhand, 10/17/2014 12:44:20 AM]
* Updated game trainers and cheats daily
* Get notified when new cheats are added
* Request which games get new trainers
* Priority support with any problem