1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

How do I delete very long folder directories? (C:\folder\folder\folder\...)

Discussion in 'Windows XP' started by Fendrak, Oct 21, 2004.

Thread Status:
Not open for further replies.
  1. Fendrak

    Fendrak Thread Starter

    Joined:
    Oct 21, 2004
    Messages:
    1
    My friend (we'll call him David) created for some sick and twisted purpose a folder path that contained 107 (no joke) folders within folders, something in the order of, "C:\folder\folder\folder\folder\..." David is now unable to delete the folder directory. When he tried to delete it, it says "Are you sure you want to move the folder and all its contents to the recycle bin? (yes, yes to all, or no)." He clicks "yes to all" or "yes", and it says, "The folder contains items who's name is too long for the recycle bin. Do you want to permanently delete it?" He clicks "yes" or "yes to all" again and it says, "Cannot delete z: Cannot find the specified file. Make sure you specify the correct path and filename."

    Anyhow, does anybody know how to delete this file? Any assistance would be greatly apreciated.
     
  2. ohheck

    ohheck

    Joined:
    Jan 5, 2003
    Messages:
    1,275
    open a command prompt,
    type rmdir c:\folder /s

    (assuming "folder" is the name of the main folder)
     
  3. cybertech

    cybertech Retired Moderator

    Joined:
    Apr 16, 2002
    Messages:
    72,115
    Try to move it up a folder then try the delete.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - delete very long
  1. SilverSurf
    Replies:
    1
    Views:
    334
  2. SilverSurf
    Replies:
    5
    Views:
    540
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/287407

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice