PC Review


Reply
Thread Tools Rate Thread

Deleting a file

 
 
Problem with formatting merged fields
Guest
Posts: n/a
 
      23rd Jun 2009
I cannot delete a folder and a file because the name is to long.

I have tried safe mode and rm and del in dos with no success.

How can I delete it?
 
Reply With Quote
 
 
 
 
Pegasus [MVP]
Guest
Posts: n/a
 
      23rd Jun 2009

"Problem with formatting merged fields"
<(E-Mail Removed)> wrote in
message news:BB893AFB-7ACE-49F4-BFC6-(E-Mail Removed)...
>I cannot delete a folder and a file because the name is to long.
>
> I have tried safe mode and rm and del in dos with no success.
>
> How can I delete it?


There are several methods. The simplest is to delete the parent folder of
the problem file, together will all other files it might contain. If you
wish to keep them then you could temporarily move them elsewhere.


 
Reply With Quote
 
Singapore Computer Service
Guest
Posts: n/a
 
      23rd Jun 2009
Hello,

Try the utility here
http://www.purgeie.com/delinv/index.htm

____
http://www.bootstrike.com/ComputerService/
Singapore Computer Home Remote On-Site Repair Service
"Problem with formatting merged fields"
<(E-Mail Removed)> wrote in
message news:BB893AFB-7ACE-49F4-BFC6-(E-Mail Removed)...
>I cannot delete a folder and a file because the name is to long.
>
> I have tried safe mode and rm and del in dos with no success.
>
> How can I delete it?



 
Reply With Quote
 
Terry R.
Guest
Posts: n/a
 
      23rd Jun 2009
The date and time was Tuesday, June 23, 2009 2:09:01 AM, and on a whim,
Problem with formatting merged fields pounded out on the keyboard:

> I cannot delete a folder and a file because the name is to long.
>
> I have tried safe mode and rm and del in dos with no success.
>
> How can I delete it?


In addition to the other responses, you can try this:

Open a Command Prompt (Start, Run, type cmd and click OK) and type the
partial command:
RD "\\?\
but do not press Enter.


Open an Explorer window. From the opened Explorer window grab the bad
folder and drag it to the Command Prompt and drop it at the end of the
incomplete command.

Complete it encapsulating it with a set of quotation marks at the end of
the command line. Make sure you *are* at the end of the line, in case
of trailing spaces. Then press enter. (If the folder name, when dropped,
brings a set of quotes with it, delete the one directly in front of the
drive letter and don't add another at the end, so that you only have one
complete set around the whole command, otherwise you will get a syntax
error.)


Terry R.
--
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
Reply With Quote
 
HeyBub
Guest
Posts: n/a
 
      23rd Jun 2009
Terry R. wrote:
> The date and time was Tuesday, June 23, 2009 2:09:01 AM, and on a
> whim, Problem with formatting merged fields pounded out on the
> keyboard:
>> I cannot delete a folder and a file because the name is to long.
>>
>> I have tried safe mode and rm and del in dos with no success.
>>
>> How can I delete it?

>
> In addition to the other responses, you can try this:
>
> Open a Command Prompt (Start, Run, type cmd and click OK) and type the
> partial command:
> RD "\\?\
> but do not press Enter.
>
>
> Open an Explorer window. From the opened Explorer window grab the bad
> folder and drag it to the Command Prompt and drop it at the end of the
> incomplete command.
>
> Complete it encapsulating it with a set of quotation marks at the end
> of the command line. Make sure you *are* at the end of the line, in
> case of trailing spaces. Then press enter. (If the folder name, when
> dropped, brings a set of quotes with it, delete the one directly in
> front of the drive letter and don't add another at the end, so that
> you only have one complete set around the whole command, otherwise
> you will get a syntax error.)
>
>


That's clever.

I would have tried: DEL REALLY~1.TXT

or

REN "REALLY BIG FILE NAME CONTAINING WEASELS..... .TXT" JUNK.TXT
DEL JUNK.TXT


 
Reply With Quote
 
Terry R.
Guest
Posts: n/a
 
      23rd Jun 2009
The date and time was Tuesday, June 23, 2009 1:50:18 PM, and on a whim,
HeyBub pounded out on the keyboard:

> Terry R. wrote:
>> The date and time was Tuesday, June 23, 2009 2:09:01 AM, and on a
>> whim, Problem with formatting merged fields pounded out on the
>> keyboard:
>>> I cannot delete a folder and a file because the name is to long.
>>>
>>> I have tried safe mode and rm and del in dos with no success.
>>>
>>> How can I delete it?

>> In addition to the other responses, you can try this:
>>
>> Open a Command Prompt (Start, Run, type cmd and click OK) and type the
>> partial command:
>> RD "\\?\
>> but do not press Enter.
>>
>>
>> Open an Explorer window. From the opened Explorer window grab the bad
>> folder and drag it to the Command Prompt and drop it at the end of the
>> incomplete command.
>>
>> Complete it encapsulating it with a set of quotation marks at the end
>> of the command line. Make sure you *are* at the end of the line, in
>> case of trailing spaces. Then press enter. (If the folder name, when
>> dropped, brings a set of quotes with it, delete the one directly in
>> front of the drive letter and don't add another at the end, so that
>> you only have one complete set around the whole command, otherwise
>> you will get a syntax error.)
>>
>>

>
> That's clever.
>
> I would have tried: DEL REALLY~1.TXT
>
> or
>
> REN "REALLY BIG FILE NAME CONTAINING WEASELS..... .TXT" JUNK.TXT
> DEL JUNK.TXT
>
>


Don't you think the obvious would have been tried first...

I guess you've never run into a file that can't be deleted. It's not
that easy, trust me.


Terry R.
--
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
Reply With Quote
 
Stubbo of Oz
Guest
Posts: n/a
 
      24th Jun 2009
On Tue, 23 Jun 2009 09:21:20 -0700, "Terry R." <(E-Mail Removed)>
wrote:

>The date and time was Tuesday, June 23, 2009 2:09:01 AM, and on a whim,
>Problem with formatting merged fields pounded out on the keyboard:
>
>> I cannot delete a folder and a file because the name is to long.
>>
>> I have tried safe mode and rm and del in dos with no success.
>>
>> How can I delete it?

>
>In addition to the other responses, you can try this:
>
>Open a Command Prompt (Start, Run, type cmd and click OK) and type the
>partial command:
>RD "\\?\
>but do not press Enter.
>
>
>Open an Explorer window. From the opened Explorer window grab the bad
>folder and drag it to the Command Prompt and drop it at the end of the
>incomplete command.
> Snip ....................


Dragging like that does not work in Vista! :-(


--
----------------
Stubbo of Oz
----------------
 
Reply With Quote
 
ju.c
Guest
Posts: n/a
 
      24th Jun 2009
These are the best apps for file deletion, all free.

Unlocker 237 KB
Info: http://ccollomb.free.fr/unlocker/
Download: http://ccollomb.free.fr/unlocker/unlocker1.8.7.exe

KillBox 90 KB
Info: http://www.killbox.net/
Download: http://www.killbox.net/downloads/KillBox.exe

FileASSASSIN 163 KB
Info: http://www.malwarebytes.org/fileassassin.php
Download: http://www.malwarebytes.org/fa-setup.exe

DelinvFile 603 KB
Info: http://www.purgeie.com/delinv/index.htm
Download: http://www.purgeie.com/dl/divfinst.exe


This is a trick to delete an undeletable file by restoring a
file over it with a file created with the same name using a
drive imaging program.

Instructions:

1. Create a text file and write in it some letters, anything.

2. Save that file in your root drive (C: for example) with the
same exact name and extension as the file you want to delete.

3. Now make a backup your new file (I used Acronis True Image).

4. Open your backup program and restore the file you created to
the folder where the undeletable file is, overwriting it.

4. Now you can delete it!

5. Run chkdsk.


ju.c


"Problem with formatting merged fields" <(E-Mail Removed)> wrote in message
news:BB893AFB-7ACE-49F4-BFC6-(E-Mail Removed)...
> I cannot delete a folder and a file because the name is to long.
>
> I have tried safe mode and rm and del in dos with no success.
>
> How can I delete it?


 
Reply With Quote
 
HeyBub
Guest
Posts: n/a
 
      24th Jun 2009
Terry R. wrote:
> The date and time was Tuesday, June 23, 2009 1:50:18 PM, and on a
> whim, HeyBub pounded out on the keyboard:
>
>> Terry R. wrote:
>>> The date and time was Tuesday, June 23, 2009 2:09:01 AM, and on a
>>> whim, Problem with formatting merged fields pounded out on the
>>> keyboard:
>>>> I cannot delete a folder and a file because the name is to long.
>>>>
>>>> I have tried safe mode and rm and del in dos with no success.
>>>>
>>>> How can I delete it?
>>> In addition to the other responses, you can try this:
>>>
>>> Open a Command Prompt (Start, Run, type cmd and click OK) and type
>>> the partial command:
>>> RD "\\?\
>>> but do not press Enter.
>>>
>>>
>>> Open an Explorer window. From the opened Explorer window grab the
>>> bad folder and drag it to the Command Prompt and drop it at the end
>>> of the incomplete command.
>>>
>>> Complete it encapsulating it with a set of quotation marks at the
>>> end of the command line. Make sure you *are* at the end of the
>>> line, in case of trailing spaces. Then press enter. (If the folder
>>> name, when dropped, brings a set of quotes with it, delete the one
>>> directly in front of the drive letter and don't add another at the
>>> end, so that you only have one complete set around the whole
>>> command, otherwise you will get a syntax error.)
>>>
>>>

>>
>> That's clever.
>>
>> I would have tried: DEL REALLY~1.TXT
>>
>> or
>>
>> REN "REALLY BIG FILE NAME CONTAINING WEASELS..... .TXT" JUNK.TXT
>> DEL JUNK.TXT
>>
>>

>
> Don't you think the obvious would have been tried first...


Er, no. What's obvious to you and (maybe me) is gibberish to others.

>
> I guess you've never run into a file that can't be deleted.


Frankly, I don't think I have.

> It's not
> that easy, trust me.


Did you try the obvious things?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win2K SP4 and Error Deleting File or Folder. There has been a sharing violation. The source or destination file may be in use. Toni Fontenele Microsoft Windows 2000 File System 1 19th Nov 2010 08:47 PM
An Automated process of watching a network file folder, reading a file in it and deleting the file using ASP.NET ? Luis Esteban Valencia Muņoz Microsoft ASP .NET 3 4th Jun 2005 11:56 AM
Deleting a file location path under tools, options, file locations =?Utf-8?B?ZWpl?= Microsoft Word Document Management 1 11th Feb 2004 08:54 PM
Windows 2000 SP4 and Error Deleting File or Folder. There has been a sharing violation. The source or destination file may be in use. Toni Fontenele Microsoft Windows 2000 File System 0 5th Sep 2003 01:48 PM
Re: I am Back... Error Deleting File or Folder. There has been a sharing violation. The source or destination file may be in use. Toni Fontenele Microsoft Windows 2000 File System 0 27th Aug 2003 01:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:16 PM.