Results 1 to 6 of 6

Thread: deleting files where the filename is too long

  1. #1
    Join Date
    Nov 2005
    Posts
    32

    deleting files where the filename is too long

    I need some urgent help from you all with my Windows Vista. I have few files on my system with very long name. There are bunch of such files on my system eating up huge space. Hence i wanted to delete them all. But when i select them and press Delete button to remove, it ends up with the following 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."

    Also when i try deleting them via DOS box (rd /s/q), it again gives me an another error saying "Filename is too long." As i remember this was not the case with Windows XP. I was able to delete such files in XP without any problem. Any idea what is wrong? Is there any way removing them in vista? Please dont tell me to rename all these 3000+ files manually and delete them!!

  2. #2
    Join Date
    Jun 2006
    Posts
    200

    Re: deleting files where the filename is too long

    As far as i know both Windows XP and Vista use the same file system, NTFS with a limitation of 255 chars per filename. Hence to me it sounds weird that XP allows but Vista doesn't allows to remove long name files. there should be some another reason is not allowing you to delete them. Anyways, just try out this and see if it works.

    There is no need to manually rename 3000 files one by one. In Windows Vista you can select them all (Ctrl + A) and renamed them at once. . Just right click and type 'A'. All files will be renamed to "A1", "A2", and so one. I think that the most easiest way.

  3. #3
    Join Date
    Mar 2009
    Posts
    1

    Re: deleting files where the filename is too long

    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.
    Last edited by bhesper; 16-03-2009 at 09:43 AM.

  4. #4
    Join Date
    Sep 2004
    Posts
    109

    Re: deleting files where the filename is too long

    I think you can also do that from command prompt. Just open Command Prompt as an Administrator and type cd foldername where the file resides. Now type "del *.ext" where ext is the extension name.

    For example if your files are bmp image then type "del *.bmp".

  5. #5
    Join Date
    Apr 2009
    Posts
    3

    Re: deleting files where the filename is too long

    Have you tried using the short 8.3 name?
    If you go to a Dos-box (cmd.exe) and type "dir /x" you see the short 8.3-format names, and using that alternative name you should be able to delete it.

  6. #6
    Join Date
    Feb 2013
    Posts
    1

    Re: deleting files where the filename is too long

    Maybe the file reached the 255 file path name max. Try to shorten it first so you can delete it. But if it still doesnt work, you can try Long Path Tool. This will solve this problem and other issues like error 1320 too. I tried this before when i couldn't delete a file too in the Trash. hope this will help.

Similar Threads

  1. Replies: 6
    Last Post: 17-08-2010, 04:32 AM
  2. Replies: 1
    Last Post: 24-08-2009, 09:17 PM
  3. Argument list too long : Deleting files older than today
    By Kingfisher in forum Networking & Security
    Replies: 3
    Last Post: 07-07-2009, 05:36 PM
  4. Error copying Files: Filename too long
    By C Stern in forum Windows XP Support
    Replies: 1
    Last Post: 17-03-2005, 03:34 AM
  5. Deleting files in CSC (Offline Files)
    By Isaivalan in forum Windows XP Support
    Replies: 4
    Last Post: 08-12-2004, 12:55 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,638,647,438.91568 seconds with 17 queries