deleting files where the filename is too long

Discussion in 'Windows Vista File Management' started by Cool Dude, Apr 5, 2008.

  1. Cool Dude

    Cool Dude Guest

    Hi,

    How do I delete a file where the filename is too long?

    If I try to delete it by highlighting it & pushing the delete button, I get
    this error message:

    The source file name(s) are larger than is supported by the file system.
    Try moving to a location that has a shorter path name or try renaming to a
    shorter name(s) before attempting this operation.

    If I try deleting in a DOS box (rd /s/q) then I get "Filename is too long."

    XP just lets me delete the files. I don't want to have to rename 3000+ files
    just to delete them!!

    Thanks.

    -JB
     
    Cool Dude, Apr 5, 2008
    #1
    1. Advertisements

  2. It's funny that XP lets you delete the files and Vista doesn't, since Both
    Vista and XP use NTFS, with a limitation of 255 chars per filename, if I'm
    not mistaken... I think the problem might be another, but anyway...

    If you just want to delete the files, you can bulk rename your files by
    selecting them all, right clicking the first file and renaming it. All other
    files will be automatically renamed too. I suppose you can just delete the
    files after that...

    Hope it helps,
    --Malu



    "Cool Dude" <> wrote in message
    news:...
    > Hi,
    >
    > How do I delete a file where the filename is too long?
    >
    > If I try to delete it by highlighting it & pushing the delete button, I
    > get this error message:
    >
    > The source file name(s) are larger than is supported by the file system.
    > Try moving to a location that has a shorter path name or try renaming to a
    > shorter name(s) before attempting this operation.
    >
    > If I try deleting in a DOS box (rd /s/q) then I get "Filename is too
    > long."
    >
    > XP just lets me delete the files. I don't want to have to rename 3000+
    > files just to delete them!!
    >
    > Thanks.
    >
    > -JB
     
    Malu Menezes [MSFT], Apr 10, 2008
    #2
    1. Advertisements

  3. Cool Dude

    bhesper Guest

    Ever tried 'Unlocker'?
    > http://download.cnet.com/Unlocker/3000-2248_4-10493998.html


    Right clicking a file won't help, but you can right-click the folder
    it's in.
    You might be able to delete it right away, otherwise use 'Unlock',
    choose 'action' 'delete'.
    Folder with filename too long will be gone.
    Restore folder if you want to.
    bhe
    ===========


    --
    bhesper
    ------------------------------------------------------------------------
    bhesper's Profile: http://forums.techarena.in/members/bhesper.htm
    View this thread: http://forums.techarena.in/vista-file-management/944951.htm

    http://forums.techarena.in
     
    bhesper, Mar 16, 2009
    #3
  4. bhesper <> wrote in
    news::

    >
    > Ever tried 'Unlocker'?
    >> http://download.cnet.com/Unlocker/3000-2248_4-10493998.html

    >
    > Right clicking a file won't help, but you can right-click the folder
    > it's in.
    > You might be able to delete it right away, otherwise use 'Unlock',
    > choose 'action' 'delete'.
    > Folder with filename too long will be gone.
    > Restore folder if you want to.
    > bhe
    > ===========
    >
    >


    you could also rum cmd.exe and type cd foldername where the file resides
    and type del *.ext where ext is the extension name ie: del *.bmp assuming
    this is the only file that resides in that folder if not type del *.e.ext
    if the last letter is an e and no other file has an e before the period
     
    Black Baptist, May 10, 2009
    #4
  5. Cool Dude

    krowey

    Joined:
    Feb 7, 2013
    Messages:
    1
    Likes Received:
    0
    If renaming or simplifying the file names is not an options since you said you have 3,000+ files then i think the best thing to do is to use a third party app like Long Path Tool. Maybe this will help you solve this issue.
     
    krowey, Feb 7, 2013
    #5
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Hope

    Fix for long, long, long deleting and copying of files?

    Hope, Feb 9, 2008, in forum: Windows Vista General Discussion
    Replies:
    14
    Views:
    1,176
    philo
    Feb 11, 2008
  2. Jorge de Almeida Pinto [MVP - DS]

    Re: Can't Delete - "Filename is too long"

    Jorge de Almeida Pinto [MVP - DS], Dec 21, 2006, in forum: Windows Server
    Replies:
    0
    Views:
    713
    Jorge de Almeida Pinto [MVP - DS]
    Dec 21, 2006
  3. Bikini Browser

    The filename you specified is invalid or too long

    Bikini Browser, Aug 4, 2007, in forum: Windows Small Business Server
    Replies:
    7
    Views:
    528
    NZSchoolTech
    Sep 12, 2007
  4. Mark McDonald

    How long is too long

    Mark McDonald, Aug 27, 2007, in forum: Windows Small Business Server
    Replies:
    1
    Views:
    585
    Terence Liu [MSFT]
    Sep 4, 2007
  5. Bikini Browser

    The filename you specified is invalid or too long

    Bikini Browser, Aug 4, 2007, in forum: Server Setup
    Replies:
    6
    Views:
    543
    NZSchoolTech
    Sep 12, 2007
  6. slywlf
    Replies:
    8
    Views:
    1,126
    Michael
    Mar 31, 2010
  7. Martin Krag

    Long Path Tool - Fix Path Too Long Forever

    Martin Krag, Mar 31, 2011, in forum: Windows 64 Bit
    Replies:
    0
    Views:
    859
    Martin Krag
    Mar 31, 2011
  8. Martin Krag

    Filename too long fix

    Martin Krag, Apr 4, 2011, in forum: Server Security
    Replies:
    1
    Views:
    2,751
    GarryLowey
    May 25, 2013
Loading...