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.

unable to delete recursive folders

Discussion in 'Earlier Versions of Windows' started by moose29moose, Oct 21, 2003.

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

    moose29moose Thread Starter

    Joined:
    Mar 31, 2003
    Messages:
    1
    I run Windows 98 and Scandisk has just reported the following error :-

    c:\ProgramFiles\RidingStar\RawData\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music\Music - folder cannot be accessed because it's file name is too long.

    The options to deal with this are to 1) move the folder; 2) delete the folder; or 3) ignore.

    I'd like to delete theses folders (they seemingly recur forever), but option 2 doesn't work ("Cannot delete Music ; access is denied - make sure disk is not full or write-protected and that the file is not currently in use"), and option 1 clearly just moves the problem to another directory.

    I've tried removing in DOS using DELTREE, but this doesn't work either.

    Any ideas/solutions would be gratefully accepted.
     
  2. NiteHawk

    NiteHawk

    Joined:
    Mar 9, 2003
    Messages:
    4,699
    The first question would be, in this tree, what is the lowest level you want to keep?
    Assuming you want to keep the first "music" try this: in windows rename the second "music" to "music2".

    Reboot to DOS

    Smartdrv
    CD c:\Progra~1\Riding~1\RawData\Music
    Deltree /y music2


    Before that you may want to do
    CD c:\Progra~1\Riding~1\RawData\Music
    dir /ad /s

    at the end it will give you the count of directories.
     
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!

Thread Status:
Not open for further replies.

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

  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