Welcome Guest ( Log In | Register )




                Web Hosting Guide

3 Pages V   1 2 3 >  
Reply to this topicNew Topic
Delete Any File On Xp
speedy
post Oct 25 2005, 04:58 PM
Post #1


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 37
Joined: 23-October 05
Member No.: 9,248


Many a times when we try to delete a file Windows show an error that the file is being used or some other message and we are unable to delete it. This often happens when the file is infected.

Here is a way to delete any file:
Go to Start>>Run>>cmd
Type in the path where the file is located (eg. "cd c:\temp" ), don’t close this window
Press ctrl + alt + del
In processes panel close "Explorer.exe" (you would see that taskbar disappears), dont close the window
In the command screen delete the file ( del filename )
In the task manager click File >> New task >> Explorer.exe
Taskbar reappears and the file deletes.

This is quite a usefull trick.
If anyone know any other easier way to do the same then please share it biggrin.gif

Speedy
Go to the top of the page
 
+Quote Post
scherzi
post Oct 25 2005, 05:17 PM
Post #2


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 11
Joined: 25-October 05
From: Valencia - Spain
Member No.: 9,289


It can be due:

- You are trying to delete an active process, a program that is running in RAM while you try to delete it. Some active use other files that will be write protected too.

- It isn't an active process but a document currently opened by another program. i.e.: you are deleting a doc file while reading it with word.

- You opened before a data file and the system considers it's still active. I.e.: the same of the doc file, but you already closed it. If you want to delete it without restarting, you can use the file/open window of that program and delete it.

Go to the top of the page
 
+Quote Post
abhiram
post Oct 25 2005, 06:36 PM
Post #3


Hedonist at large
Group Icon

Group: Members
Posts: 610
Joined: 30-July 05
From: another realm
Member No.: 7,524


Now, this is something new that I haven't tried before. I've run into some problems in XP with files that just won't get deleted. It's usually some movie file which is taking up a whole lot of space. Sometimes, I couldn't delete the file even after rebooting the system in safe mode. It just won't go. I even tried some software that supposedly kills the app which has the stronghold on the file but it just doesn't work. The next time I run into this problem I'll give this a try. Have you tried it before?
Go to the top of the page
 
+Quote Post
speedy
post Oct 25 2005, 07:20 PM
Post #4


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 37
Joined: 23-October 05
Member No.: 9,248


Dont worry Abhiram, I have tried it before. It is exactly as you have described. Sometimes a audio file or even a folder wont delete no matter how much you try. Sometimes it refuses to delete even after reboot, if it doesn't delete like this also in that case you should try to start computer in safe mode and do the same as above.

Thanks for reply guys
Speedy
Go to the top of the page
 
+Quote Post
Sarah81
post Oct 25 2005, 08:59 PM
Post #5


That really was a Hattori Honzo sword.
Group Icon

Group: Members
Posts: 473
Joined: 27-August 05
From: Texas, USA
Member No.: 8,126


Hehe - just make sure you know what you're deleting so you don't have to reinstall the entire OS after you accidentally dump something important.

I haven't had any problems with file errors like this - well, no problems that weren't fixed by closing the app. or rebooting the system, anyway. I'll keep this in mind if those solutions don't work in the future.


Go to the top of the page
 
+Quote Post
scherzi
post Oct 25 2005, 09:40 PM
Post #6


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 11
Joined: 25-October 05
From: Valencia - Spain
Member No.: 9,289


Yep, be sure that is not a critical process of your system. hehe.

If you cannot delete it in safe mode be careful.

If you want to by-pass the recylce folder, press shift key at the same time you delete the file. If you are in doubt, type the file name into google and find information about.
Go to the top of the page
 
+Quote Post
tansqrx
post Oct 26 2005, 07:55 AM
Post #7


Super Member
Group Icon

Group: [HOSTED]
Posts: 678
Joined: 25-April 05
Member No.: 4,374
myCENTs:67.77


Wonder if this work on the index.dat files used to store IE history. Its open by IE from bootup till shutdown. Quite hard to delete by conventional means.
Go to the top of the page
 
+Quote Post
jipman
post Oct 26 2005, 08:36 AM
Post #8


Pretty please?
Group Icon

Group: Members
Posts: 733
Joined: 28-November 04
From: Holland
Member No.: 1,552


Euh... There's a button to delete the IE history didn't you know? tongue.gif

Anyway, if you can't delete a file which you are supposed to be able to delete, it's in use by something. So what you can do is just close that program (as mentioned above) or insert a line into the autoexec.bat that can be found in your C:\ directory.eg.
CODE

del c:\cant_delete_this.txt


autoexec.bat is a batch file that is executed everytime just before the system is fully boot up (should be already existing in your c drive)
Go to the top of the page
 
+Quote Post
abhiram
post Oct 26 2005, 08:55 AM
Post #9


Hedonist at large
Group Icon

Group: Members
Posts: 610
Joined: 30-July 05
From: another realm
Member No.: 7,524


QUOTE
autoexec.bat is a batch file that is executed everytime just before the system is fully boot up (should be already existing in your c drive)


I thought autoexec.bat was only used upto windows 98 and it's significance has depreciated since windows 2000. The AUTOEXEC.BAT file in my Windows XP is completely blank. Are you sure it'll work? I wonder why it's there in the first place when it's completely blank.
Go to the top of the page
 
+Quote Post
YudzzY
post Oct 26 2005, 09:35 AM
Post #10


Member - Active Contributor
Group Icon

Group: Members
Posts: 80
Joined: 5-September 05
Member No.: 8,327


i will use it, but how about this problem:

=> The CMD command refuses to work, i.e. when 'cmd' the window open, and closes immediately!

how to solve that?
Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No new   32 NilsC 18,492 20th November 2009 - 12:15 PM
Last post by: iG-topcathunter
No New Posts   5 PigFat 2,225 16th November 2009 - 11:31 PM
Last post by: iG-Demonz Media
No New Posts   14 kanade 4,260 12th November 2009 - 07:55 PM
Last post by: iG-Ram
No New Posts   5 dungsport 2,649 12th November 2009 - 07:09 AM
Last post by: Quatrux
No New Posts   14 rapco 7,980 6th November 2009 - 07:14 AM
Last post by: iG-Rajeesh
No New Posts   14 PureHeart 10,013 30th October 2009 - 03:45 AM
Last post by: iG-butter1093
No New Posts   12 avalon 4,191 23rd October 2009 - 10:15 AM
Last post by: iG-kkk
No New Posts   17 vicky99 6,429 17th October 2009 - 11:51 AM
Last post by: surfermac
No New Posts   10 bob3695 8,271 12th October 2009 - 06:38 AM
Last post by: iG-Sewe Oyaya
No New Posts   11 TavoxPeru 3,612 8th October 2009 - 08:51 PM
Last post by: iG-
No New Posts   11 Nqon 3,581 6th October 2009 - 05:49 PM
Last post by: starscream
No New Posts   10 Chesso 2,135 26th September 2009 - 11:49 AM
Last post by: iG-jordan
No New Posts   11 soleimanian 4,171 22nd September 2009 - 12:01 PM
Last post by: iG-
No new   19 muazamali 7,676 5th September 2009 - 01:26 PM
Last post by: surfermac
No New Posts   14 sendto 12,866 29th August 2009 - 04:42 AM
Last post by: iG-Asgar


Web Hosting Powered by ComputingHost.com.