Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - deleting files where the filename is too long

Reply
 
Old 04-05-2008   #1 (permalink)
Cool Dude


 
 

deleting files where the filename is too long

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


My System SpecsSystem Spec
Old 04-09-2008   #2 (permalink)
Malu Menezes [MSFT]


 
 

Re: deleting files where the filename is too long

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" <leverarch69@xxxxxx> wrote in message
news:e1TBW2vlIHA.1184@xxxxxx
Quote:

> 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
My System SpecsSystem Spec
Old 03-16-2009   #3 (permalink)
bhesper


 
 

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.
bhe
===========


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

http://forums.techarena.in

My System SpecsSystem Spec
Old 05-10-2009   #4 (permalink)
Black Baptist


 
 

Re: deleting files where the filename is too long

bhesper <bhesper.3p4l7c@xxxxxx> wrote in
news:bhesper.3p4l7c@xxxxxx:
Quote:

>
> 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
> ===========
>
>
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
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Possible to Read only Selected lines from multiple files into anotherfile deleting source files when processed? PowerShell
Fix for long, long, long deleting and copying of files? Vista General
How to rename files with brackets in the filename PowerShell
Vista Search doesn't find files by filename Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46