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: 692
Joined: 25-April 05
Member No.: 4,374
myCENTs:17.73


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 Posts   18 vicky99 7,563 24th February 2010 - 08:16 PM
Last post by: iG-ivmai
No New Posts   5 jackpinerepublic 4,371 19th February 2010 - 02:04 AM
Last post by: iG-Simon Varley
No New Posts   17 rapco 9,910 12th February 2010 - 06:48 AM
Last post by: iG-Sanjaya
No New Posts   15 PureHeart 11,900 10th February 2010 - 08:02 PM
Last post by: iG-khadeer
No New Posts   14 jedipi 7,761 10th February 2010 - 05:47 PM
Last post by: iG-keith
No New Posts   12 Nqon 4,580 9th February 2010 - 02:46 PM
Last post by: iG-
No new   22 muazamali 8,887 9th February 2010 - 04:18 AM
Last post by: topboys
No New Posts   14 bob3695 10,088 8th February 2010 - 09:19 PM
Last post by: iG-Manish Patel
No New Posts   5 Jeigh 3,633 3rd February 2010 - 07:16 PM
Last post by: iG-Juan
No New Posts   2 kanade 729 28th January 2010 - 01:06 PM
Last post by: iG-pankaj
No New Posts   9 dhanesh 2,833 21st January 2010 - 11:07 PM
Last post by: iG-S
No New Posts   4 Shantanu 2,130 19th January 2010 - 02:23 AM
Last post by: iG-lei
No New Posts   15 Grafitti 6,696 18th January 2010 - 03:59 AM
Last post by: iG-ohhellnaw
No new   35 szupie 13,529 13th January 2010 - 04:50 AM
Last post by: iG-
No New Posts   14 sid.calcutta 4,998 10th January 2010 - 09:32 PM
Last post by: iG-harrymedia


Web Hosting Powered by ComputingHost.com.
HONESTY ROCKS! truth rules.
Creative Commons License