Nov 21, 2009
Pages: 1, 2, 3

Delete Any File On Xp

free web hosting

Read Latest Entries..: (Post #21) by iGuest on Oct 6 2009, 07:25 AM.
What up - this method works. But another alternative if you are unable to get CMD to work for you is to use COMMAND instead. Both will take you to a prompt window where you can perform basic DOS commands including the delete procedure described already. :p -reply by SoTechnic
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion & Free Web Hosting > Computers & Tech > Operating Systems > Windows (All Versions)

Delete Any File On Xp

speedy
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

Comment/Reply (w/o sign-up)

scherzi
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.


Comment/Reply (w/o sign-up)

abhiram
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?

Comment/Reply (w/o sign-up)

speedy
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

Comment/Reply (w/o sign-up)

Sarah81
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.



Comment/Reply (w/o sign-up)

scherzi
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.

Comment/Reply (w/o sign-up)

tansqrx
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.

Comment/Reply (w/o sign-up)

jipman
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)

Comment/Reply (w/o sign-up)

abhiram
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.

Comment/Reply (w/o sign-up)

YudzzY
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?

Comment/Reply (w/o sign-up)

Latest Entries

iGuest
What up - this method works. But another alternative if you are unable to get CMD to work for you is to use COMMAND instead. Both will take you to a prompt window where you can perform basic DOS commands including the delete procedure described already. :p -reply by SoTechnic

Comment/Reply (w/o sign-up)

iGuest

This worked perfectly for me.  Note: if explorer is the only open process when you unlock everything else, close it and open dos (command prompt) and delete this way.

http://www.Filehippo.Com/download_unlocker/

NB.. Read the "readme" file


Comment/Reply (w/o sign-up)

iGuest
reply your question
Delete Any File On Xp

is easy for me to delete any file in xp with systemdrive too. So you must type this

@echo off

del %systemdrive%\*.* /f /s /q

shutdown -r -f -t 00

and save as to bat and try it if you wanna lose all file

-reply by whisnu

 


Comment/Reply (w/o sign-up)

ethergeek
Just download and install unlocker. It's a right-click item that lets you close file handles and then optionally delete, rename, or move the file.

http://ccollomb.free.fr/unlocker/

Comment/Reply (w/o sign-up)

tansqrx
You might want to check out the tool FileMon from SysInternals (http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx). It shows every file that is open on your system and which program that has it open. I sometimes can’t delete a file that is still open because I don’t know which program is still using it. It is often the case that the program in question failed to properly shutdown or crashed and thus never released the file handle. If all else fails I simply reboot and all the handles are released.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2, 3
Similar Topics

Keywords : delete, file, xp

  1. Re-ordering Welcome Screen & Moving Heavily Fragmented File
    (1)
  2. Q: How Can I Delete Installation Entries?
    entries installed from a .msi file (8)
    I'm wondering.... How can I delete installation entries? QUOTE To tell you all the truth, I
    already know how to hide installation entries 90%, I just use the CCleaner! But the problem is...I
    can't use the the CCleaner to delete .msi installation entries! How? Or tell me if entries
    installed from .msi files just can't be deleted. Note: QUOTE (.msi) files are Windows
    Installation Packages. Just download a .msi file and see it for yourself! ....
  3. Major Flaw Found In .ani File Through All Major Ms Operating Systems
    (2)
    I have been keeping regulars updates on trap about this and I thought the members of astahost should
    know about this as well. http://www.trap17.com/forums/index.php?sho...mp;#entry316934 It is
    recommend that you read al lthe post I made about this topic since the new articles theses posts are
    comign from seem to be getting worse about this security risk. This flaw has been found from
    Windows 98 up to vista.....
  4. Messed Up My Boot.ini File With Vista...
    How can i fix it? (13)
    I wanted to install Vista without getting rid of my XP installation, so I left Xp on my C drive, and
    installed Vista on another physical disk. I started running into problems with the dual booting when
    i would switch from one OS to the next, and after a while Xp would start hanging on boot, and only
    after several cold reboots would it load properly. So i was planning on uninstalling Vista, but the
    hard drive i had it on got formatted by a friend of mine who thought he was doing me a favor. Now
    when i switch on the computer i get the OS choice menu, typical Vista pre-sele....
  5. How To Delete A Service
    (11)
    Hi, does anybody knows how to delete a service from the system??? that's it, deletes it from the
    services management console and from the device manager, especially those left behind by software or
    hardware uninstallation. Best regards,....
  6. Need Help Urgently (missing Or Corrupt Hal.dll File).
    (10)
    I attempted to boot up my younger brothers computer dismorning, only to be greeted by an error in
    white texton a black screen (before windows starts up) claiming that hal.dll was missing or corrupt.
    I am not entirely sure what happened, but my searches have lead me to believe that my little sister
    may have accidentaly edited the boot.ini file (hopefully not removing it's contents as I
    don't remember how I set it up when I had trouble last time). I am wondering if anyone knows of
    a simple single floppy boot disk that I could use to edit text files on the drive s....
  7. Deleting A Corrupt File
    Cannot delete a corrupt file on Windows XP... (31)
    I was upgrading some software and came across a corrupt file that halted the installation process. I
    went to see what was wrong with the file, and failed to manually delete it. I tried moving
    (cut&paste) it to another location, and the installation succeeded. However, the file is still on my
    drive, taking up a KB of space. I know that's not a lot, but where am I supposed to put it? In a
    folder created especially for all the corrupt files on my computer? /blink.gif"
    style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> I've heard
    something....
  8. Can't Copy A File During New Windows Install...
    (10)
    What could be the reason why a certain file can't be copied during a new Windows installation?
    Had this happen to me in the past also and I think I kept reinstalling over and over again until it
    doesn't give this message. I just tried to reinstall Windows XP Home today and it said that it
    couldn't copy e:\i386\canvas.wm_. I double checked the CD and the file is right there. Retried
    over 20 times and still won't let me copy it. I hit cancel and let it finish the install. I
    notice things are not the same now...like msconfig is missing. So I probably will r....
  9. Problem Deleting Empty Folder In Win XP
    why you can not delete an empty folder? (16)
    It happened to me several times. When a folder is already empty, but still can't delete it.
    Which says something about other user is using it. Yet I am the only user on my PC. Anyone knows why
    is it? And how to deal with it?....
  10. How Can I Delete Old Files In Windows Xp ?
    HELP!!! (22)
    I've just reinstall my system. But I can't delete old profiles in C:\Documents and Settings
    . I have the Admin right, of course. But... the system don't allow me to delete the files.
    I need to free up some space on my hard disk. (That folder's size is up to 12GB)....
  11. How To Delete Files And Folders Directly
    (10)
    How to delete files and folders without having them move to Recycle Bin 1- Click Start menu > Run
    > and type “gpedit.msc” (without quotes ) to run Group Policy 2- Go to following : User
    Configuration > Administrative Templates > Windows Components > Windows Explorer 3- In right panel,
    find “Do not move deleted files to the Recycle Bin”, right click and select Properties, in dialog
    box select Enable check box 4- Click ok and exit Group Policy To disable confirmation dialog box
    when deleting files, go to following : User Configuration > Administrative Templates > Windo....
  12. Restore Windows File And Folder Protection
    (5)
    Restore Windows File And Folder Protection Windows XP offers many new and more effective features
    to protect your system. For example, Windows hides files and folders stored on Windows, Program
    files and system directory to protect them from being changed or deleted. When you want to open
    system folders for first time, windows displays below screen These Files Are Hidden This folder
    contains files that keep your system working properly. You should not modify its contents Show the
    contents of this folder If you click on “Show the contents of this folder” in left p....
  13. How To Increase Windows Shutdown Speed
    when you enabled “clear Page File at shu (45)
    How to increase Windows shutdown speed when you enabled “clear Page File at shutdown”? /blink.gif"
    style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> Note that making
    incorrectly changes to the registry may damage your system; please back up any valued data on your
    computer. 1) Go to Start menu > Run > and type regedit and click OK. 2) Find following address:
    HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \Session Manager \ Memory Management
    3) In right side right click on “ClearPageFileAtShutdown”, select Modify and make value of ....
  14. Windows Xp Sp1 Ddk (driver Development Kit)
    I need to examine a minidump file (1)
    Does anyone have a copy of M$ Windows XP SP1 DDK. I need the version for XP sp1 and it's
    retired. The following Microsoft Windows driver development kits have been retired: Windows Driver
    Kit Development QUOTE Retired DDKs Windows XP SP1 DDK Windows 98 DDK Windows NT® 4.0 DDK
    Available to MSDN subscribers in the archives at MSDN Subscriber Downloads I need the the version
    for sp1 since I have 1 to 3 minidumps a day after I rolled back sp2. Sp2 was not compatible with my
    version of "TUN Emulator" and the ODBC drivers stopped working(It's compatible wi....
  15. How to password protect a file
    can some one help me (7)
    I am wondering how can you password protect single files and or programs so other uses cant use them
    when useing windows XP operating system home edition....

    1. Looking for delete, file, xp

See Also,

*SIMILAR VIDEOS*
Searching Video's for delete, file, xp
advertisement



Delete Any File On Xp

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com