Windows Vista Forums
Vista Forums Home Join Vista Forums Webcasts Windows 7 Forum 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

Unable to delete file

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 10-13-2007   #1 (permalink)
Erik Nettekoven
Guest


 

Unable to delete file

Hi,

I am having a very strange problem. I have two folders which I cannot delete
or rename. I can move them around on the disk, but when I choose to delete
them and confirming that I am sure, nothing happens. No error, no warning and
most important no deletion!

If I try to rename the folder I do get an error:
"Could not find this item. This i nog longer located in D:\DeleteIt. Verify
the item's location and try again. FolderName Date Created: 29-5-2007 22:35.
[Try Again] [Cancel]"

Pressing try again does not work. But in explorer, the folder is still there!

I have tried check disk several times, but no luck. Are there any other
tools I can use to get rid of the folders?

--
Regards,

Erik
MCSE 2000/2003

My System SpecsSystem Spec
Old 10-13-2007   #2 (permalink)
Erik Nettekoven
Guest


 

RE: Unable to delete file

Just found a solution:
Open command prompt
use dir /x to get the 8.3 name of the folder which cannot be deleted
use rd with the 8.3 name of the folder and it is gone!
--
Regards,

Erik
MCSE 2000/2003


"Erik Nettekoven" wrote:
Quote:

> Hi,
>
> I am having a very strange problem. I have two folders which I cannot delete
> or rename. I can move them around on the disk, but when I choose to delete
> them and confirming that I am sure, nothing happens. No error, no warning and
> most important no deletion!
>
> If I try to rename the folder I do get an error:
> "Could not find this item. This i nog longer located in D:\DeleteIt. Verify
> the item's location and try again. FolderName Date Created: 29-5-2007 22:35.
> [Try Again] [Cancel]"
>
> Pressing try again does not work. But in explorer, the folder is still there!
>
> I have tried check disk several times, but no luck. Are there any other
> tools I can use to get rid of the folders?
>
> --
> Regards,
>
> Erik
> MCSE 2000/2003
My System SpecsSystem Spec
Old 11-28-2007   #3 (permalink)
Elbi
Guest


 

RE: Unable to delete file

My problem is a bit different. I have a file on the Vista desktop that is
named "filename.mov - shortcut.lnk", where there is a space on either side of
the hyphen. I am unable to delete the link.

I tried the following method: from an elevated command prompt ( Start ->
All Programs -> Accessories and right-clicked Command Prompt, then "Run as
Administrator") Cd to desktop. Dir to get the filename, then Del the long
filename. The system hung until I pressed <crtl>C.

Then, I typed Dir /x to get the 8.3 filename. Then, typed Del
filena~1.lnk. Again, the system hung.

It appears to be looking for specifically "filename.mov" on the desktop. I
am unable to rename the file, can not delete it. Any ideas?

Any help is appreciative. Elbi

"Erik Nettekoven" wrote:
Quote:

> Just found a solution:
> Open command prompt
> use dir /x to get the 8.3 name of the folder which cannot be deleted
> use rd with the 8.3 name of the folder and it is gone!
> --
> Regards,
>
> Erik
> MCSE 2000/2003
>
>
> "Erik Nettekoven" wrote:
>
Quote:

> > Hi,
> >
> > I am having a very strange problem. I have two folders which I cannot delete
> > or rename. I can move them around on the disk, but when I choose to delete
> > them and confirming that I am sure, nothing happens. No error, no warning and
> > most important no deletion!
> >
> > If I try to rename the folder I do get an error:
> > "Could not find this item. This i nog longer located in D:\DeleteIt. Verify
> > the item's location and try again. FolderName Date Created: 29-5-2007 22:35.
> > [Try Again] [Cancel]"
> >
> > Pressing try again does not work. But in explorer, the folder is still there!
> >
> > I have tried check disk several times, but no luck. Are there any other
> > tools I can use to get rid of the folders?
> >
> > --
> > Regards,
> >
> > Erik
> > MCSE 2000/2003
My System SpecsSystem Spec
Old 11-28-2007   #4 (permalink)
Michael Walraven
Guest


 

Re: Unable to delete file

You might try enclosing the long filename in quotes. ("....")

Michael


"Elbi" <Elbi@xxxxxx> wrote in message
news:8D8F6929-D822-474B-9998-E3BF5D02469B@xxxxxx
Quote:

> My problem is a bit different. I have a file on the Vista desktop that is
> named "filename.mov - shortcut.lnk", where there is a space on either side
> of
> the hyphen. I am unable to delete the link.
>
> I tried the following method: from an elevated command prompt ( Start ->
> All Programs -> Accessories and right-clicked Command Prompt, then "Run as
> Administrator") Cd to desktop. Dir to get the filename, then Del the
> long
> filename. The system hung until I pressed <crtl>C.
>
> Then, I typed Dir /x to get the 8.3 filename. Then, typed Del
> filena~1.lnk. Again, the system hung.
>
> It appears to be looking for specifically "filename.mov" on the desktop.
> I
> am unable to rename the file, can not delete it. Any ideas?
>
> Any help is appreciative. Elbi
>
> "Erik Nettekoven" wrote:
>
Quote:

>> Just found a solution:
>> Open command prompt
>> use dir /x to get the 8.3 name of the folder which cannot be deleted
>> use rd with the 8.3 name of the folder and it is gone!
>> --
>> Regards,
>>
>> Erik
>> MCSE 2000/2003
>>
>>
>> "Erik Nettekoven" wrote:
>>
Quote:

>> > Hi,
>> >
>> > I am having a very strange problem. I have two folders which I cannot
>> > delete
>> > or rename. I can move them around on the disk, but when I choose to
>> > delete
>> > them and confirming that I am sure, nothing happens. No error, no
>> > warning and
>> > most important no deletion!
>> >
>> > If I try to rename the folder I do get an error:
>> > "Could not find this item. This i nog longer located in D:\DeleteIt.
>> > Verify
>> > the item's location and try again. FolderName Date Created: 29-5-2007
>> > 22:35.
>> > [Try Again] [Cancel]"
>> >
>> > Pressing try again does not work. But in explorer, the folder is still
>> > there!
>> >
>> > I have tried check disk several times, but no luck. Are there any other
>> > tools I can use to get rid of the folders?
>> >
>> > --
>> > Regards,
>> >
>> > Erik
>> > MCSE 2000/2003
My System SpecsSystem Spec
Old 11-29-2007   #5 (permalink)
Elbi
Guest


 

Re: Unable to delete file

I tried the quotes, but to no avail. What I did find that worked and is no
scarier than editing the registry file is the following:

1) Close all open programs.
2) Open an elevated command prompt by clicking Start > All Programs >
Accessories and right-click Command Prompt, then "Run as Administrator'.
3) From the prompt type: CD %userprofile%\Desktop and press Enter.
4) now type: dir /x to get the 8.3 filename of the file you are trying to
delete and press Enter.
5) leave the Command Prompt window open. Open the Task Manager
(ctrl-shift-esc).
6) In the Task Manager, Close Explorer.exe, leave Task Manager open.
7) From the Command Prompt window, delete the file with del filename.ext
using the 8.3 filename format. Close the command prompt window with EXIT.
8) From the Task Manager, Reopen/restart explorer.exe. Close Task Manager.
9) As a precaution, I reboot the system. That may not have been necessary,
though.

It works.

===========================================

"Michael Walraven" wrote:
Quote:

> You might try enclosing the long filename in quotes. ("....")
>
> Michael
>
>
> "Elbi" <Elbi@xxxxxx> wrote in message
> news:8D8F6929-D822-474B-9998-E3BF5D02469B@xxxxxx
Quote:

> > My problem is a bit different. I have a file on the Vista desktop that is
> > named "filename.mov - shortcut.lnk", where there is a space on either side
> > of
> > the hyphen. I am unable to delete the link.
> >
> > I tried the following method: from an elevated command prompt ( Start ->
> > All Programs -> Accessories and right-clicked Command Prompt, then "Run as
> > Administrator") Cd to desktop. Dir to get the filename, then Del the
> > long
> > filename. The system hung until I pressed <crtl>C.
> >
> > Then, I typed Dir /x to get the 8.3 filename. Then, typed Del
> > filena~1.lnk. Again, the system hung.
> >
> > It appears to be looking for specifically "filename.mov" on the desktop.
> > I
> > am unable to rename the file, can not delete it. Any ideas?
> >
> > Any help is appreciative. Elbi
> >
> > "Erik Nettekoven" wrote:
> >
Quote:

> >> Just found a solution:
> >> Open command prompt
> >> use dir /x to get the 8.3 name of the folder which cannot be deleted
> >> use rd with the 8.3 name of the folder and it is gone!
> >> --
> >> Regards,
> >>
> >> Erik
> >> MCSE 2000/2003
> >>
> >>
> >> "Erik Nettekoven" wrote:
> >>
> >> > Hi,
> >> >
> >> > I am having a very strange problem. I have two folders which I cannot
> >> > delete
> >> > or rename. I can move them around on the disk, but when I choose to
> >> > delete
> >> > them and confirming that I am sure, nothing happens. No error, no
> >> > warning and
> >> > most important no deletion!
> >> >
> >> > If I try to rename the folder I do get an error:
> >> > "Could not find this item. This i nog longer located in D:\DeleteIt.
> >> > Verify
> >> > the item's location and try again. FolderName Date Created: 29-5-2007
> >> > 22:35.
> >> > [Try Again] [Cancel]"
> >> >
> >> > Pressing try again does not work. But in explorer, the folder is still
> >> > there!
> >> >
> >> > I have tried check disk several times, but no luck. Are there any other
> >> > tools I can use to get rid of the folders?
> >> >
> >> > --
> >> > Regards,
> >> >
> >> > Erik
> >> > MCSE 2000/2003
>
My System SpecsSystem Spec
Old 11-29-2007   #6 (permalink)
R. C. White
Guest


 

Re: Unable to delete file

Hi, Elbi.

Thanks a lot for that! This question comes up often in these newsgroups and
this new tool will come in handy, I'm sure.

I haven't tried it myself, but I wonder: Would it work to use Task Manager
to close Explorer.exe first, and then use Administrator:Command Prompt to
use Dir /x and Del <8.3 filename.ext>, and then restart Explorer.exe? This
cuts out just a couple of steps, but it might be easier (and shorter) to
outline in a newsgroup post. (And for me to remember.)

Maybe the extra steps were necessary because the "undeletable" file was on
your Desktop and because the filename included spaces AFTER the ".mov"? But
a filename really has only a single extension, even though it may look like
it has several. For instance, "file.txt.vbs.exe" really has only a single
extension, ".exe". The ".txt.vbs" come before the final period (dot), so
all that becomes part of the filename itself (which can include periods in
an LFN but not in an 8.3 or SFN), rather than multiple extensions. But your
earlier post said Dir /x produced "filena~1.lnk", which appears to be the
correct handling of your "filename.mov - shortcut.lnk", even with the spaces
inside the filename.

I'm glad you found the fix. Congratulations!

RC
--
R. C. White, CPA
San Marcos, TX
rc@xxxxxx
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64)

"Elbi" <Elbi@xxxxxx> wrote in message
news:AF01F2BB-2E81-4471-A19B-CA38E0BB8D5E@xxxxxx
Quote:

> I tried the quotes, but to no avail. What I did find that worked and is
> no
> scarier than editing the registry file is the following:
>
> 1) Close all open programs.
> 2) Open an elevated command prompt by clicking Start > All Programs >
> Accessories and right-click Command Prompt, then "Run as Administrator'.
> 3) From the prompt type: CD %userprofile%\Desktop and press Enter.
> 4) now type: dir /x to get the 8.3 filename of the file you are trying to
> delete and press Enter.
> 5) leave the Command Prompt window open. Open the Task Manager
> (ctrl-shift-esc).
> 6) In the Task Manager, Close Explorer.exe, leave Task Manager open.
> 7) From the Command Prompt window, delete the file with del filename.ext
> using the 8.3 filename format. Close the command prompt window with EXIT.
> 8) From the Task Manager, Reopen/restart explorer.exe. Close Task Manager.
> 9) As a precaution, I reboot the system. That may not have been
> necessary,
> though.
>
> It works.
>
> ===========================================
>
> "Michael Walraven" wrote:
>
Quote:

>> You might try enclosing the long filename in quotes. ("....")
>>
>> Michael
>>
>>
>> "Elbi" <Elbi@xxxxxx> wrote in message
>> news:8D8F6929-D822-474B-9998-E3BF5D02469B@xxxxxx
Quote:

>> > My problem is a bit different. I have a file on the Vista desktop that
>> > is
>> > named "filename.mov - shortcut.lnk", where there is a space on either
>> > side
>> > of
>> > the hyphen. I am unable to delete the link.
>> >
>> > I tried the following method: from an elevated command prompt (
>> > Start ->
>> > All Programs -> Accessories and right-clicked Command Prompt, then "Run
>> > as
>> > Administrator") Cd to desktop. Dir to get the filename, then Del the
>> > long
>> > filename. The system hung until I pressed <crtl>C.
>> >
>> > Then, I typed Dir /x to get the 8.3 filename. Then, typed Del
>> > filena~1.lnk. Again, the system hung.
>> >
>> > It appears to be looking for specifically "filename.mov" on the
>> > desktop.
>> > I
>> > am unable to rename the file, can not delete it. Any ideas?
>> >
>> > Any help is appreciative. Elbi
>> >
>> > "Erik Nettekoven" wrote:
>> >
>> >> Just found a solution:
>> >> Open command prompt
>> >> use dir /x to get the 8.3 name of the folder which cannot be deleted
>> >> use rd with the 8.3 name of the folder and it is gone!
>> >> --
>> >> Regards,
>> >>
>> >> Erik
>> >> MCSE 2000/2003
>> >>
>> >>
>> >> "Erik Nettekoven" wrote:
>> >>
>> >> > Hi,
>> >> >
>> >> > I am having a very strange problem. I have two folders which I
>> >> > cannot
>> >> > delete
>> >> > or rename. I can move them around on the disk, but when I choose to
>> >> > delete
>> >> > them and confirming that I am sure, nothing happens. No error, no
>> >> > warning and
>> >> > most important no deletion!
>> >> >
>> >> > If I try to rename the folder I do get an error:
>> >> > "Could not find this item. This i nog longer located in D:\DeleteIt.
>> >> > Verify
>> >> > the item's location and try again. FolderName Date Created:
>> >> > 29-5-2007
>> >> > 22:35.
>> >> > [Try Again] [Cancel]"
>> >> >
>> >> > Pressing try again does not work. But in explorer, the folder is
>> >> > still
>> >> > there!
>> >> >
>> >> > I have tried check disk several times, but no luck. Are there any
>> >> > other
>> >> > tools I can use to get rid of the folders?
>> >> >
>> >> > --
>> >> > Regards,
>> >> >
>> >> > Erik
>> >> > MCSE 2000/2003
My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to delete a file on my desktop MarcusC04L Vista file management 3 04-19-2008 09:23 AM
Unable to delete a file!!!! HELP!!!!! thgp1704 Vista file management 8 03-20-2008 05:11 PM
Unable to delete corrupt file David Thigpen Vista file management 1 01-16-2008 09:31 PM
Unable to delete a file Elliot Vista General 4 12-03-2007 10:36 AM
Unable to Delete File Display_Name Vista General 7 09-26-2007 06:34 PM


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 51