Home > Computers > How To Delete A Troublesome Folder

How To Delete A Troublesome Folder

While creating a batch script to help automate the restore process I go through fairly often, I somehow created a folder that had around 30 something subdirectories and then a file embedded within that last subdirectory…, OOPS! I could only browse so far, then nothing, I figure probably to the point of 255 characters in the path name (I think the windows os file name limit is 255, not sure, somewhere around there) and then windows (7) would just stop, no error, nothing. Found the error when I tried to delete the folder:

File Name Too Long Error

So what do you do? I tried Shift Delete (bypass recycle bin), CMD Prompt: RMDIR /S /Q, with no luck and finally tried Total Commander but still nothing. Finally came across DelinvFile (Delete Invalid Files and Folders). Worked great, google it if you need it, it’s free for 30 days.

If anyone knows how to achieve the same thing without using a 3rd party program, please share, I looked everywhere with no luck. I hate installing a program to do something that should be so simple.

  1. Dillon Askew
    December 8th, 2010 at 09:04 | #1

    I welcome you discussing it onto your internet page

  2. Phentemine375 review
    December 8th, 2010 at 18:53 | #2

    the folks information here definitely . you all do an awesome I just want

  1. No trackbacks yet.
You must be logged in to post a comment.