Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista file management

deleting files where the filename is too long

Closed Thread
 
Thread Tools Display Modes
Old 04-05-2008   #1 (permalink)
Cool Dude
Guest


 

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

Old 04-09-2008   #2 (permalink)
Malu Menezes [MSFT]
Guest


 

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
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW LONG?! Copying files. -mike- Vista General 20 05-08-2008 08:58 AM
Possible to Read only Selected lines from multiple files into anotherfile deleting source files when processed? joe.hurzeler PowerShell 3 03-09-2008 10:03 PM
Fix for long, long, long deleting and copying of files? Hope Vista General 14 02-10-2008 06:12 PM
How to rename files with brackets in the filename Yorick PowerShell 8 07-04-2007 07:50 AM
Vista Search doesn't find files by filename Puppy Breath Vista file management 15 04-06-2007 05:44 AM








Vistax64.com 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 2005-2008

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 47 48 49 50