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 performance & maintenance

Vista - Cannot Delete A File

Reply
 
Old 06-24-2007   #1 (permalink)
Dominic's Momma


 
 

Cannot Delete A File

I am having trouble deleting a file. It is not telling me that i cannot
delete, it just won't delete. The recycling box comes up and says its
recyling, but it will do that for hours and will not delete it. I have moved
everything else out of the folder and tried to delete the folder, same thing.
I have tried to shred the file, and it will not shred, says please wait and
will not do anything, but will shred other files in seconds.
Any program that i try to open the file with, stops running.

My System SpecsSystem Spec
Old 06-24-2007   #2 (permalink)
P. Di Stolfo


 
 

Re: Cannot Delete A File

Hello,

what will happen if you try running the cmd.exe as Administrator and delete
the file there by
del Filename
?
If it doesn't work, try killing explorer.exe in the Task Manager and try
deleting the file again by cmd.exe (works for me very often).

Greetings,
P. Di Stolfo

"Dominic's Momma" <Dominic's Momma@discussions.microsoft.com> schrieb im
Newsbeitrag news:E3786343-167E-4041-A8BD-C3E622B55EA7@microsoft.com...
>I am having trouble deleting a file. It is not telling me that i cannot
> delete, it just won't delete. The recycling box comes up and says its
> recyling, but it will do that for hours and will not delete it. I have
> moved
> everything else out of the folder and tried to delete the folder, same
> thing.
> I have tried to shred the file, and it will not shred, says please wait
> and
> will not do anything, but will shred other files in seconds.
> Any program that i try to open the file with, stops running.


My System SpecsSystem Spec
Old 06-24-2007   #3 (permalink)
Rick Rogers


 
 

Re: Cannot Delete A File

It may also help to determine what has a handle open on it, as that is the
most common cause of an inability to delete:
http://ccollomb.free.fr/unlocker/

When using the command prompt, it helps to elevate by right clicking CMD and
using the option to 'run as administrator' even if the currently logged on
account is of that level (elevation invokes privileges that are not
available otherwise). It may also be more effective to use RD /s /q <dir>
instead of delete.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com

"P. Di Stolfo" <paolodistolfo@hotmail.com> wrote in message
news:80FB8BED-F9C6-4B6C-88BB-C5807E192F42@microsoft.com...
> Hello,
>
> what will happen if you try running the cmd.exe as Administrator and
> delete the file there by
> del Filename
> ?
> If it doesn't work, try killing explorer.exe in the Task Manager and try
> deleting the file again by cmd.exe (works for me very often).
>
> Greetings,
> P. Di Stolfo
>
> "Dominic's Momma" <Dominic's Momma@discussions.microsoft.com> schrieb im
> Newsbeitrag news:E3786343-167E-4041-A8BD-C3E622B55EA7@microsoft.com...
>>I am having trouble deleting a file. It is not telling me that i cannot
>> delete, it just won't delete. The recycling box comes up and says its
>> recyling, but it will do that for hours and will not delete it. I have
>> moved
>> everything else out of the folder and tried to delete the folder, same
>> thing.
>> I have tried to shred the file, and it will not shred, says please wait
>> and
>> will not do anything, but will shred other files in seconds.
>> Any program that i try to open the file with, stops running.

>


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
cannot delete a file due to error that file is open Vista file management
cannot delete old DOS file Vista file management
cannot delete mail in delete file Vista mail
Create New folder, move file, delete file. Explorer Freeze General Discussion
Re: YOU CANT DELETE A FILE? Vista General


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