I can't delete a folder: path too long

I have a deep folder structure and can not remove it.  Is there a tool that I could use?  I can't believe that Windows XP doesn't have a tool or a command to do this.

One more thing that might work is to use the program "Robocopy " (robust copy) of Microsoft.  This program will certainly deal with files that have paths exceed 255 characters, but it's basically a copy program.  I hope that you could turn into a removal program by specifying the switch "/ MOVE" (so that it deletes the source files after copying) and maybe see if you can move/copy the file into the bit bucket "ZERO:  If Robocopy does not appear on your system, you can get to withoutTechnical Resource Kit .

In addition, somewhere I think I read that you can specify long paths if you use the "\?". "------" syntax.  When you use it well, you must specify the name of full path from the drive letter, as in:
«\\?\C:\Documents and Settings\User\...» »

HTH,
JW

Tags: Windows

Similar Questions

  • I can't delete a folder. In addition, in some cases, I can't delete some files.

    Using Windows Explorer (Windows XP) I can't delete a folder. (The data are not a program).

    File attributes are set to "hidden files" and the folder is empty (0-byte and no files are in the folder).

    In addition, the folder properties (and file) / attributes are 'read only '. When I uncheck "read only" and click OK, then look again at this, the box comes back to "read only with a check mark. (???)

    When I try to delete the folder, the message says "no empty folder", and it won't delete.

    Also, when I try to delete some files (in other cases) some people will not remove.

    Help, please.

    The 'read only' box on issues is not what he says. ignore it.

    A folder will not delete if it contains a locked file.  You will need to unlock and remove the file first.

    "Some files" will not delete because they are locked - that is to say, they are in use by an application.  There is a utility called "unlocker" used to be recommended to correct this situation, but the download now includes adware that may be reported by your antivirus/antimalware dangerous application.

    An 'empty' file that will not delete can be fixed if you run chkdisk.  Click Start > run and type the following command, and then click OK

    chkdisk/f

    A window will open to inform you that chkdisk /f cannot be run while Windows is active and proposed to schedule a chkdisk for the next reboot.  Answer Yes and restart.  When chkdisk is complete, delete the folder.

    The files that appear to be in use can be deleted by one or more of the following techniques:

    A. deleting a command prompt window.  You need to know the name of full of the file path.  For example, if you try to delete a file named test.txt that is located in a folder named Non empty folder on your desktop and your user name is NR16020, the full path name is C:\Documents and Settings\NR16020\Desktop\Non empty Folder\\test.txt

    • Open a command prompt window (start > run > cmd > OK)
    • Use the del for the files command and the command rd for folders.  If the full path name includes spaces, include it with double spaces.  Using the example:
      del "C:\Documents and Settings\NR16020\Desktop\Non Folder\\test.txt empty"
      'C:\Documents and Settings\NR16020\Desktop\Non Folder Empty' RD

    B. remove in safe mode.  To access Safe Mode, restart the computer and repeatedly press F8 immediately after that the power on sequence is complete.  If you see the Windows logo, you waited too long and need to try again.

    C. remove from a command prompt with closed Windows Explorer.  If the procedure fails because the file is locked, follow these steps:

    • Close all running applications
    • Open the Task Manager
    • Open a command prompt window
    • In the Task Manager process tab, right-click on explorer.exe, and then select end process
    • Open the command prompt window and follow the steps listed in point A above
    • In the Task Manager, click file > new task (run...), type explorer.exe, and then click OK
  • I have authorized Searchqu in my computer - how can I delete file/folder when I receive a message "access denied"?

    Original title: Searchqu Removal

    Like a fool, I have authorized Searchqu in my computer - how can I delete file/folder when I receive a message "access denied"?

    Hello

    My name is John and I am a member of the support team Searchqu. I'm here to help :)

    There is no need to worry-, it is not a virus or malware, Searchqu is a browser setting and can be easily uninstalled by taking these steps:

    Go to control panel > Add/Remove Programs > find the windows searchqu toolbar > Uninstall

    If you still have questions, we would be happy to answer J

    Searchqu support team.

  • I can't delete a folder of my trash.

    I can't delete a folder of my trash. When I right click on it, it permanently deletes all the files and the folders that I have here, however it is still there. It is not a big problem, it's all just annoying. Please let me know if you have a solution. Thank you!

    Hi David,

    Please see the answers in the following thread:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-desktop/cannot-delete-files-from-Recycle/7c5cbf17-8c40-4F15-8e28-9214b84c58d7

  • I can't delete a folder that was created when I downloaded DIVX. Message I get is "Destination access folder denied" any suggestions?

    I can't delete a folder that was created when I downloaded DIVX. Message I get is "Destination access folder denied" any suggestions?

    Try to use Unlocker to:http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml this programs often works when the normal functions of remove Vista not work correctly.

    If this does not work, you need to change the permissions and ownership on the file in order to have all the rights and the property (even on the inherited rights).  Then try Unlocker.  Here's the information to help you do.

    To view your permissions, right-click on the file/folder, click Properties, and check the Security tab.  Check the permissions you have by clicking on your user name (or group of users).  Here are the types of permissions, you may have:http://windows.microsoft.com/en-US/windows-vista/What-are-permissions.  You must be an administrator or owner to change the permissions (and sometimes, being an administrator or even an owner is not sufficient - there are ways to block access (even if a smart administrator knows these ways and can move them - but usually should not because they did not have access, usually for a very good reason).)  Here's how to change the permissions of folder under Vista:http://www.online-tech-tips.com/windows-vista/set-file-folder-permissions-vista/. To add take and the issuance of right of permissions and ownership in the right click menu (which will make it faster to get once it is configured), see the following article:http://www.mydigitallife.info/2009/05/21/take-and-grant-full-control-permissions-and-ownership-in-windows-7-or-vista-right-click-menu/.

    To solve this problem with folders, folders takeownership or the reader (as an administrator) and give you all the rights.  Right-click on the folder/drive, click Properties, click the Security tab and click on advanced and then click the owner tab.  Click on edit, and then click the name of the person you want to give to the property (you may need to add if it is not there--or maybe yourself). If you want that it applies to subfolders and files in this folder/drive, then check the box to replace the owner of subcontainers and objects, and click OK.  Back and now there is a new owner for files and folders/player who can change the required permissions.  Here is more information on the ownership of a file or a folder:http://www.vistax64.com/tutorials/67717-take-ownership-file.html. To add take ownership in the menu of the right click (which will make it faster to get once it is configured), see the following article:http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • "Source path too long".

    Music folder contains the music folder that contains the music folder; ad infinitum.

    When I try to 'delete' files a new window States "Source path too long" to get it into the trash.

    Hello

    You can scan System File Checker to fix corrupted files.
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

  • When you back up my files to a new hard drive, getting the error "destination path too long".

    Hello

    Today I was backing up my files on a new hard drive that I bought a week ago, and during the copy, I received the message following 'destination path too long ".
    And the file name is actually short "crouch" here is a snap of the image:

    http://imgkeep.com/0ij23kby74dn.html

    I don't know what to do!

    Original title: destination path too long?

    The key factor is not the name of the file itself, but the total length of the file name and the path of the folder.

    The help files for the application that you are using could tell you how long the total combination of the file-file may be [some more older can be limited to 255 characters, but I was not able to discover the current constraints].

  • "Path too long" error during extraction solution zipped

    When retrieving a zipped VB.Net 2008 solution, I get an error indicating "Path too long" and the inscription NationalInstruments.Common.Native.dll.deploy (see attachment). I have recently started getting as this error message and I don't want to just choose the option 'Ignore' because I don't know if I need this file or not. Any suggestions?

    Tim

    I rebooted the computer and the problem disappeared. But I'll try the longpathtool if the problem comes up again and I can not solve by restarting.

  • Destination path too Long

    I get the following dialog box 'Destination path' too long when you try to copy my photos from my Seagate FreeAgent Xtreme 2 TB portable hard drive.  I tried to move more than 450 GB of files (that are jpg, cr2 or psd file formats) and received the above message. Tried to go on a smaller subset of 200 GB but I got the same message. The dialog also contained the following text "You can shorten the file name and the tr again, or try a location with a shorter path".  This message truncates the copy process.

    Hi Jeff,

    Some people have found a solution in a similar position on MS Technet here. Let me know if one of them will help you.

    Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows xp - path too long

    Hiya,

    I work for a company to use the digital camera and retrieve images dailly.

    However, the memory card, I'm trying to use won't be open, "path too long". I clicked on 'Properties', where it is said there are files and folders in there.

    Please could you help me to get into these files, it is very important recover us these photos.

    Thanks again x

    EDIT: Sorry I seem to have posted this in the wrong section - I posted 1 in the section "xp". Sorry, this is the 1st time I used microsoft answers xxx

    XP forums:

    http://social.answers.Microsoft.com/forums/en-us/category/WindowsXP

    Link above is for XP Forums.

    There is a list of the different Forums XP to the link above to help you.

    You get the help you need there.

    Here is the Vista Forums.

    See you soon

    Mick Murphy - Microsoft partner

  • Path too Long error

    Hello

    We continue in our domain network get a path too long error when recording to the reallocated, documents or network folders within Word - someone knows this?

    I checked the various files and folders and all are within the maximum limit.

    Our network is running Windows Server 2008, Windows 7 Pro and office 2013.

    Thank you very much.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Can I delete my folder structure and put all my files in a main folder

    Hello

    I would like to remove a complicated production structure and pull it all in a single folder for now.  So instead of going to the folder documents/file/1 has / folder I etc... I just simply go to the documents.

    It would take too long to do it by going into each folder and move the files, all the shortcuts would be much appreciated!

    Thank you

    I just tried with the document library. Using the Details view andinclude subfolders... selected in tools > Folder Options > search in the search box type
     
    * type:(NOT folder)
     
    This should lead to a list of all the files in the Documents. Then press Ctrl + A to select all to where you want to cut or copy. I copy into a new empty folder under My Documents before deleting anything. If you have the Type column is visible, you can see certain types of file - shortcuts, for example - that you're not particularly interested in cluttering your new simplified with folder. When you are quite sure this is what you want to do, you can delete everything in My Documents , save the new file, and then move that content to a higher level.

    Noel

  • How can I delete a folder?

    I have a few files that I need is no longer. When I try to delete them, I get this message:
    The current order has no success. The e-mail server for the XXXXXX account replied: [can't} rename not supported in any of the conflicting directory permissions.]

    What does that mean?

    I think it must be an IMAP account, and when you delete a folder, it means that a request is sent to Thunderbird to the server to delete the Junk folder.

    Different systems use different rules for file names. Your server may have a bug, or it may deleting the folder generated a name that already exists, or which is not allowed. It is difficult to say.

    It may be easier to go to the website of your email provider, log in to your webmail it and delete the offending like that record.

  • Can I delete the folder titled "Old data from Firefox" which appeared on my desk?

    About the old folder of Firefox that strangely appeared on my desk - then - I delete it? I like a clean house. Didn't read where someone asked this question and got an answer. He has been there since March 10, according to the properties button. I just noticed it. But I don't want to delete something where I can lose the extensions or something else. If it is just a backup, can't just get rid of him. I don't know what to do with it anyway.

    If you have not noticed any missing data after reset of your, you can delete this folder, but I think that it would be better to archive somewhere where it doesn't bother you. Perhaps to create a balance of things folder you will empty on new year if you don't need then.

  • Can I delete my folder "music" once that my music has been added to iTunes?

    I just make the switch from a PC to a Mac and I'm currently putting all upward. As someone who has never used iTunes before that I have a simple question:

    I had a music collection of reasonable size on my PC in a folder called "music". I copied this entire folder on a hard drive external and then pasted on my new iMac tab music in the finder. Then I started iTunes and added the majority (but not all) of the music in the folder "music" from my iTunes library. Am I right in thinking that iTunes actually another copy of all my music in the iTunes folder, which means that I now duplicated a lot of music? If he made a copy, can I now delete the folder "music" original? I took care until I copied it all from my PC that all of my pieces is in MP3 format only, not WMA at all.

    Any help would be appreciated!

    Thank you.

    Am I right in thinking that iTunes actually another copy of all my music in the iTunes folder, which means that I now duplicated a lot of music?

    If you have the default settings, the answer is probably yes.  To be sure, right-click any track in iTunes, choose 'Show in Finder', and you will see what copy of a song file iTunes uses.

    If you have another copy of the song file, iTunes didn't need, and you can remove at your discretion.

Maybe you are looking for

  • Win XP on Satellite M30X does not start after battery was flat

    XP on M30X will not start after battery was flat! Safe mode, last work... nothing works!The restore CD offers 3 options1: new installation, 2 toshiba recovery utility (expert mode) und 9 output. How do the XP Recovery console, or how to use 2 to rest

  • For Mac WD Passport

    My WD passport is set up for Time Machine. I want to disconnect Time machine and use it only for the storage of pictures and video files. I used the facilities of disk to completely erase the disk, but it is always related to Time Machine. How can I

  • Re: High temperature on the Satellite A100 PSAA8l

    My laptop Satellite A100 PSAA8l is very hot to can up tp 95 temp... scares me! Can someone HELP me?

  • Missing phone has been used

    My iPhone 5 has been stolen in October this year. Find my phone is set up on the subject. I signed up right away for notifications if it was used, and I have locked the phone remotely and erased the content about it, also remotely. Tonight, I receive

  • How to write a letter and then print it

    I want to write a letter and then print it. How can I start?