Department of Energy Argonne National Laboratory Office of Science NEWTON's Homepage NEWTON's Homepage
NEWTON, Ask A Scientist!
NEWTON Home Page NEWTON Teachers Visit Our Archives Ask A Question How To Ask A Question Question of the Week Our Expert Scientists Volunteer at NEWTON! Frequently Asked Questions Referencing NEWTON About NEWTON About Ask A Scientist Education At Argonne Prompt from Windows 2000
Name: Mal
Status: Other
Age: 40s
Location: N/A
Date: 7/21/2004

I have Windows 2000 installed on my computer. How do I enter into DOS prompt to enable me to delete a file that I cannot delete through Windows, due to it being used. I am sure it is a virus file.

You can try going through the command prompt using Start->Run->"cmd" and then navigating to the folder and typing "delete ". I don't think this will work; I think Windows will probably not let you delete the file if it is being used.

However, I would recommend getting a virus cleaner like Norton Anti-Virus, McAfee's anti-virus system, or PC-cillin (This may not be the right spelling). It is always dicey to delete files yourself. Additionally, there may be more clean-up involved, like changing registry settings and the like.

There are also "ad-ware" cleaners like Spybot and a few others that may take care of programs that are not, technically, viruses but are nuisances (one example of this is WildTangent, an on-line gambling application).

If it is a .dll, you may be able to see which processes are using it by running a program called "tlist". With this, you can list all of the .dll files loaded by all processes currently running and see which process is using the .dll. Try "tlist /?" to start. This program does not appear to come installed, but I believe it is on the Windows 2000 CD in that the installation program is under x:\support\tools where x is the CD drive.

Good luck

Jon Card

Click here to return to the Computer Science Archives

NEWTON is an electronic community for Science, Math, and Computer Science K-12 Educators, sponsored and operated by Argonne National Laboratory's Educational Programs, Andrew Skipor, Ph.D., Head of Educational Programs.

For assistance with NEWTON contact a System Operator (, or at Argonne's Educational Programs

Educational Programs
Building 360
9700 S. Cass Ave.
Argonne, Illinois
60439-4845, USA
Update: June 2012
Weclome To Newton

Argonne National Laboratory