How can I delete an undeletable diretory? (Access Denied, Max Path Len)

I naively did this:
robocopy c:\Users D:\MIGRATION_BACKUP\Users /mir /mt /zb
It failed and I found a better way to backup Users. But I'm left with an undeleteable directory in D:\backup\users:
D:\MIGRATION_BACKUP\Users\All Users\Application Data\Application Data\Applicatio
n Data\Application Data\Application Data\Application Data\Application Data\Appli
cation Data\Application Data\Application Data\Application Data\Application Data\
Application Data>dir /ah
 Volume in drive D is D_Drive
 Volume Serial Number is 3AC6-ACF4
 Directory of D:\MIGRATION_BACKUP\Users\All Users\Application Data\Application D
ata\Application Data\Application Data\Application Data\Application Data\Applicat
ion Data\Application Data\Application Data\Application Data\Application Data\App
lication Data\Application Data
08/19/2013  09:17 PM    <DIR>          .
08/19/2013  09:17 PM    <DIR>          ..
08/19/2013  09:17 PM    <DIR>          Application Data
               0 File(s)              0 bytes
               3 Dir(s)  650,405,253,120 bytes free
D:\MIGRATION_BACKUP\Users\All Users\Application Data\Application Data\Applicatio
n Data\Application Data\Application Data\Application Data\Application Data\Appli
cation Data\Application Data\Application Data\Application Data\Application Data\
Application Data>cd "Application Data"
The filename or extension is too long.
Here is what I've tried:
- If I view that directory in Windows Explorer (as Administrator), there are no files or subdirectories, even if I turn on Hidden Files.
- Right-click delete of Users (again as Admin) says it can't delete some files/folders because name is too long.
- rd /s (as Admin) gives "The system cannot find the path specified"
- Tried cding all the way to the bottom subdir in cmd and rd /s of the last subdir - same problem
- Same thing using the 8.3 name ("APPLIC~1" in the bottom subdir)
Any other ideas on how I can clean this up?

(1)you can try unlock.. it has deletion feature for such files..
http://www.filehippo.com/download_unlocker/
(2) Else you can use linux bootble cd .. Linux does not have such limitations
(3) else try to move folder by folder towards root... and make the path less lengthy and try to make less than 255 characters and try to delete
(4) check this
http://searchenterprisedesktop.techtarget.com/answer/How-to-delete-a-file-or-folder-when-the-Windows-path-is-too-long
Hetti Arachchige V Aravinda |
Microsoft Community Support | Windows Tech Information
(B.Sc, Microsoft Small Business Specialist, Dip. in Network Administration, MCP, MCTS,
MCSA, MCSE, MCITP, CCNA, MBCS)
Don't forget to mark this as helpful if you found this is helpful ,and its the answer mark this as answer.

Similar Messages

  • How can I delete a row in access using the database toolkit?

    I want to delete just one row of a access table using the database toolkit. Can it be done and if so How?

    Take a look at page A-1 of the database connetivity manual. It has information on making a sql query that will delete. You will need to use this command with the dbtools execute query function. Look in the shipping examples for an example with this function.

  • How can I delete the image outside of this offset path?

    I'm really new to Illustrator, and I'm trying to print an image that will have a CutContour swatch around it, with a bleed outside of the CutContour line. You'll see that I set up the bleed by creating an offset path outside of the CutContour path. However, I would like to delete the rest of the image outside of that, but I'm not sure how to do this. I don't want to print the entire block of the photograph, just the image inside the tracing, leaving the outside white. I thought I could select the offset path and make a Clipping Mask from that but it says it's "too complex" or doesn't do anything at all. I've attached an example since it will probably make more sense to have something to look at in addition to my explanation...

    If there are a lot of points in the path you are trying to use as a clipping mask, you could try;
    Object > Path > Simplify
    Turn on preview, and play with the settings while watching the shape and number of points.
    --OB

  • How can i delete an icloud account with out password or access to old email

    how can i delete an icloud account with out password or access to old email

    If the old ID ("email address) is yours, and is an ealier version of your current iCloud ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I recently installed an app CARTOON HD. I stupidly clicked install as I read that it wants access to my protected data. How can I see what it wants access to and how do I delete it

    I recently installed an app CARTOON HD. I stupidly clicked install as I read that it wants access to my protected data.... I think.  How can I see what it wants access to and how do I delete it

    How do I delete it permanently if it has indeed requested my protected/personal data?

  • How can I delete mail when I get an error message saying "195247.emix" couldn't be copied because you don't have permission to access "Messages"?

    We have received messages that we cannot open and cannot delete, when we try to delete the messages we get an error message. One of the messages reads, "195427.emix" couldn't be copied because yolu don't have permission to access "Messages". How can we delete these?

    Hi Sandy,
    Get Find Any File...
    http://apps.tempel.org/FindAnyFile/
    Hold Option or alt key when selecting Find to Find All.
    Search for Name contains...
    195427.emix
    Choose reveal in Finder, do a Get info on it & the Folder that contains it... what rights & privileges does it show?
    Is the folder called Messages?

  • HT204150 Me and my ex both used icloud account and now he has access to my contacts pictures etc. How can I delete my account all together so he can't sign in to it and delete everything off his phone??

    How can I delete my icloud and all my stuff off another phone that I don't have access to?

    actually you can change password on that account by resetting password at that site
    iforgot.apple.com. After that he will not have access to your data anymore.
    you also can wipe his phone, but I don't know if you want him coming after you for that.
    If email that you use for apple id is accesible by him you can also change your apple id at the site
    appleid.apple.com - just login and edit apple id to new email that he would not know.
    Once again, you can do bad stuff to him, but usually it is better to leave that to the police.

  • How can i delete my itunes account as i think im being hacked, almost every day itunes are taking accessive amounts of money from my account!

    Dear Apple support, how can i delete my itunes account as i think im being hacked!! over the past few months a lot of money seems to be taken from my account ranging from as little as £1 to £60... i cant take any more. Can i delete the account? Can u help me plase as i dont know what to do! Regards Teresa

    Go into your iTunes account and eliminate the payment method to none.  Then change the password.  FInally notify iTunes support of your problem.  You will find ways to contact iTunes support on this website.  Email works very well with iTunes support.
    You do not want to delete your account and there is no need to do that to prevent further hacking.  The reason is that any purchases of music, Apps, movies or whatever made with your iTunes account will be associated to that account and you can redownload them if you change iPhones, get an iPad or to your computer.  If you were able to delete the account, which you cannot do, you would have to repurchase everything.

  • I just updated my phone and by mistake made a new apple id. how can i delete the new apple id and use my old one so i can access my apps? thanks

    I just updated my iPhone. it prompted me to create an apple id. not being sure i did create a new one. after my phone updated i realized what i did. how can i delete my new apple id and use my old one so i can get my apps? thanks

    Go to 'Settings' and 'Store' and then click on the 'Apple ID' and sign out and back in with your correct one.

  • How can I delete an old file from my library on iTunes

    Occasionally I have to replace PDF manuals with ones that have been updated.  But after I sync the new file the old one remains on my Mac itunes library.  How can I delete the old file?  So far all I do is deselect the old file but it's still there.  Sooner or later there will be more old files then current ones making it hard to manage.
    Thanks in advance.

    You can do this with or without the iPad connected to your Mac.
    Launch iTunes on the Mac. Click on Books under the Library heading. Click on the PDFs. Then click on the PDF that you want to delete in order to select it, and go to Edit>Delete and follow the on screen prompts.
    if you are using iTunes 11 and do not have the sidebar enabled, and wish to do so, go to View>Show sidebar or use the keyboard shortcut OPTION+Command+S.
    If you do not want to enable the sidebar, the library items can be accessed in the button in the upper left corner of the iTunes window.

  • How can I delete an authorized computer from my account, but I want to still have one of the 2 I have

    I made use of some computer to managed my apple account but later I sold this computer; then I bought another computer and I autorized this one but I didn't know I must delete the computer I made use before. Now I want to delete it but in the apple account page only let me to "desautorizar todo" I supose it means every computer,so how can I delete just one of them?

    You can only delete individual computers if you have access to them. When you five authorizations in total you can choose to deauthorize all, then reauthorize the ones you want to use. You then can't repeat that process for a year. In short there is nothing you can do until you have five authorisations. Change your password just in case you left yourself signed in on the old one with no confirmation for purchases.
    tt2

  • How can I delete a contact and an empty group from iPad 2?

    I downloaded the iPad 2 User's Guide, but its instructions for deleting a contact do not work. I cannot scroll down and find a Delete button to click. Also, there is an untitled group on my iPad 2 (which is not on the iMac to which I sync the iPad 2). How can I deleted this annoying untitled group? The user's guide has nothing about groups in its index or under Contacts.

    Oh dear. I Reset the iPad, and it made me set it up again, like I did when I first got it. When I got to the choice of "Set Up as New iPad" or "Restore from iTunes Backup," I chose "Restore from iTunes Backup." Then I tried to sync it with iTunes. iTunes gave me no error message, but the iPad is stuck on the screen that says, "Connect to iTunes," even though it IS connected to iTunes. Is this because I cannot connect to a wifi zone? I'm hardly ever in a wifi zone. I don't have access to one right now. Does this mean I can't use my iPad until I find a free wifi zone to connect to?

  • How can I delete the task bar in iOS7

    How can I delete the task bar in iOS7

    Stop Task Bar (Control Center) from popping up?
    Settings>Control Center>Access Within Apps

  • How can I delete an email personality that I no longer use

    I have been accessing several different email addresses that I no longer use. How can I delete those email personalities from Thunderbird

    Looks like you already found this answer but to save another volunteer from answering again and for future searches here is how to remove an old email account.
    '''Before you remove an account in Thunderbird, move any messages for that account that you want to keep into a local folder. Removing an account will take all messages associated with that account that are not in a local folder with it.'''
    Press the alt key if the Menu Bar is not showing.
    From the Menu Bar select Tools-Account Settings
    Select the account
    Account Actions-Remove Account
    Please mark this solved it you are satisfied with the answer.

  • How can I delete an Apple Account someone made using my gmail That has already been verified??

    Someone used my gmail and I accidentally verified it and cannot take my email off of it.
    I reset the password so now I only have access.
    How can I delete this?

    HI,
    Just because and Apple ID email is not verified does not mean the account is not created. (usable may be another matter)
    Are you trying to Login here with the Manage option.
    This will take you to the Apple ID page and tell you if there is an Verified Email as the Apple ID and whether there is a recovery email in use.
    There is a menu on the left to sort any Recovery email and set Security Questions.
    You are most likely to need to verify the Apple ID you were trying to create.
    10:03 pm      Saturday; June 7, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

Maybe you are looking for