Microsoft Windows Vista Community Forums - Vistaheads
FREE Anti Rootkit Software for Vista Users




Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.


Registry Mechanic - Free Scan Now

File name too long for deletion

microsoft.public.windows.vista.file management



Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Reply
  #1 (permalink)  
Old 05-20-2007
Shalalith
 

Posts: n/a
File name too long for deletion
I have a filename that is really long, but vista will not let me delete it.
I have tried several other ways, but they do not work. I also cannot rename
it so that the name is smaller. What should I do?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-20-2007
Jimmy Brush
 

Posts: n/a
Re: File name too long for deletion
Try this:

- Open an elevated command prompt (right-click, run as administrator)
- Type the following:

del "\\?\PATH_TO_FILE\filename"

Where PATH_TO_FILE is the full path to the file. For example, if the
file was named:

This is a really huge file

And it was located in:

c:\users\me\documents

You would type:

del "\\?\c:\users\me\documents\This is a really huge file"

--
-JB
Microsoft MVP - Windows Shell
Windows Vista Support FAQ - http://www.jimmah.com/vista/

On Sat, 19 May 2007 20:51:01 -0700, Shalalith
<Shalalith@discussions.microsoft.com> wrote:

>I have a filename that is really long, but vista will not let me delete it.
>I have tried several other ways, but they do not work. I also cannot rename
>it so that the name is smaller. What should I do?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-20-2007
Shalalith
 

Posts: n/a
Re: File name too long for deletion
Thank you for trying Jimmy, but unfortunately that didn't work. Command
Prompt gave me a Filename or Extention too long for deletion.

"Jimmy Brush" wrote:

> Try this:
>
> - Open an elevated command prompt (right-click, run as administrator)
> - Type the following:
>
> del "\\?\PATH_TO_FILE\filename"
>
> Where PATH_TO_FILE is the full path to the file. For example, if the
> file was named:
>
> This is a really huge file
>
> And it was located in:
>
> c:\users\me\documents
>
> You would type:
>
> del "\\?\c:\users\me\documents\This is a really huge file"
>
> --
> -JB
> Microsoft MVP - Windows Shell
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>
> On Sat, 19 May 2007 20:51:01 -0700, Shalalith
> <Shalalith@discussions.microsoft.com> wrote:
>
> >I have a filename that is really long, but vista will not let me delete it.
> >I have tried several other ways, but they do not work. I also cannot rename
> >it so that the name is smaller. What should I do?

>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-20-2007
Jimmy Brush
 

Posts: n/a
Re: File name too long for deletion
Can you post the name of the file? Or, post what folder the file is
in, and how many characters is in the file name?

--
-JB
Microsoft MVP - Windows Shell
Windows Vista Support FAQ - http://www.jimmah.com/vista/

On Sun, 20 May 2007 10:56:02 -0700, Shalalith
<Shalalith@discussions.microsoft.com> wrote:

>Thank you for trying Jimmy, but unfortunately that didn't work. Command
>Prompt gave me a Filename or Extention too long for deletion.
>
>"Jimmy Brush" wrote:
>
>> Try this:
>>
>> - Open an elevated command prompt (right-click, run as administrator)
>> - Type the following:
>>
>> del "\\?\PATH_TO_FILE\filename"
>>
>> Where PATH_TO_FILE is the full path to the file. For example, if the
>> file was named:
>>
>> This is a really huge file
>>
>> And it was located in:
>>
>> c:\users\me\documents
>>
>> You would type:
>>
>> del "\\?\c:\users\me\documents\This is a really huge file"
>>
>> --
>> -JB
>> Microsoft MVP - Windows Shell
>> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>>
>> On Sat, 19 May 2007 20:51:01 -0700, Shalalith
>> <Shalalith@discussions.microsoft.com> wrote:
>>
>> >I have a filename that is really long, but vista will not let me delete it.
>> >I have tried several other ways, but they do not work. I also cannot rename
>> >it so that the name is smaller. What should I do?

>>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-21-2007
dean-dean
 

Posts: n/a
Re: File name too long for deletion
Can you temporarily shorten the file's path, by renaming the parent folders?
For example, from
C:\FancyName1\FancyName2\FancyName3\FancyName4\Thi sisareallyhugefile.xxx
To
C:\1\2\3\4\Thisisareallyhugefile.xxx

Is the file movable?
Create a temporary new account, move the file under that account, and then
delete the account.

Or, you could try this utility:
http://www.purgeie.com/delinv/index.htm

"Shalalith" <Shalalith@discussions.microsoft.com> wrote in message
news:1B779C2C-A6E6-4660-9518-44ADFB204C5A@microsoft.com...
> Thank you for trying Jimmy, but unfortunately that didn't work. Command
> Prompt gave me a Filename or Extention too long for deletion.
>
> "Jimmy Brush" wrote:
>
>> Try this:
>>
>> - Open an elevated command prompt (right-click, run as administrator)
>> - Type the following:
>>
>> del "\\?\PATH_TO_FILE\filename"
>>
>> Where PATH_TO_FILE is the full path to the file. For example, if the
>> file was named:
>>
>> This is a really huge file
>>
>> And it was located in:
>>
>> c:\users\me\documents
>>
>> You would type:
>>
>> del "\\?\c:\users\me\documents\This is a really huge file"
>>
>> --
>> -JB
>> Microsoft MVP - Windows Shell
>> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>>
>> On Sat, 19 May 2007 20:51:01 -0700, Shalalith
>> <Shalalith@discussions.microsoft.com> wrote:
>>
>> >I have a filename that is really long, but vista will not let me delete
>> >it.
>> >I have tried several other ways, but they do not work. I also cannot
>> >rename
>> >it so that the name is smaller. What should I do?

>>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-25-2007
sharkethic86
 

Posts: n/a
Re: File name too long for deletion
I love you dean-dean.. this utility worked perfectly. <3


> Or, you could try this utility:
> http://www.purgeie.com/delinv/index.htm


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista takes a long time from start to long in on SBS2003 network...... mlai microsoft.public.windows.vista.networking sharing 9 12-04-2007 08:10
file verification too long ! Marie microsoft.public.windows.vista.general 2 04-12-2007 10:00
File Deletion/Dual Files When Using Stack By Tags... =?Utf-8?B?cm95c3RyZWV0?= microsoft.public.windows.vista.file management 0 03-31-2007 09:56
Why does it take so long to delete a single file? =?Utf-8?B?RmxhZ3JlZW4=?= microsoft.public.windows.vista.general 2 03-01-2007 11:59
File deletion in vista it stupid Brian W microsoft.public.windows.vista.file management 0 02-28-2007 13:15


All times are GMT +1. The time now is 13:01.


CA Desktop DNA Migrator 2008

Spam Filter for Outlook and Outlook Express

Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0

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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119