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

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

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.
 
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)
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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 807,865 other people just like you!

Latest posts

Staff online

Members online

Top