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
     
    Malu Menezes [MSFT], Apr 10, 2008
    #2
    1. Advertisements

  3. Cool Dude

    bhesper Guest

    Ever tried 'Unlocker'? 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, Mar 16, 2009
    #3
  4. 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

Ask a Question

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.