1. Home
  2. Computing & Technology
  3. PC Support

Delete (Del)

By , About.com Guide

What is the Delete Command?:

The delete command is a Recovery Console command used to delete a single file. "Delete" and "Del" may be used interchangeably.

Delete Command Syntax:

delete [drive:][path] filename

drive: = This is the drive letter containing the filename you want to delete.

path = This is the folder or folder/subfolders located on the drive:, containing the filename that you want to delete..

filename = This is the name of the file you want to delete.

Note: The delete command can only be used to delete files in the system folders of the current installation of Windows, in removable media, in the root folder of any partition, or in the local Windows installation source.

Delete Command Examples:
delete c:\windows\twain_32.dll

In the above example, the delete command is used to delete the twain_32.dll file located in the C:\Windows folder.

delete io.sys

In this example, the delete command has no drive: or path information specified so the io.sys file is deleted from whatever directory you typed the delete command from.

For example, if you type delete io.sys from the C:\> prompt, the io.sys file will be deleted from C:\.

Delete Command Availability:

The delete command is available from within the Recovery Console in Windows 2000 and Windows XP.

The delete command is also accessible from the Command Prompt in any version of Windows but with additional options and less restrictions on use.

Delete Related Commands:

The delete command is often used with many other Recovery Console commands.

Explore PC Support
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PC Support
  4. Glossary / Terms
  5. D
  6. Delete - Delete Command Details - Recovery Console Command - Del>

©2009 About.com, a part of The New York Times Company.

All rights reserved.