Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Microsoft DOS deltree command

Quick links

About deltree
Availability
Syntax
Examples

About deltree

Short for delete tree, deltree is a command used to delete files and directories permanently from the computer.

Availability

The deltree is an external command that is available in the Microsoft operating systems listed below.

MS-DOS 5.0 and above
Windows 95
Windows 98
Windows ME
Windows NT

Users who are using Microsoft Windows 2000 or Windows XP should utilize the del or rmdir command.

Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:
Operating Systems
rmdir

Resolved

Were you able to locate the answer to your questions?

Syntax

Deletes a directory and all the subdirectories and files in it.

To delete one or more files and directories: DELTREE [/Y] [drive:]path [[drive:]path[...]]

/Y Suppresses prompting to confirm you want to delete the subdirectory.
[drive:]path Specifies the name of the directory you want to delete.

Note: Use DELTREE cautiously. Every file and subdirectory within the specified directory will be deleted. Once deleted, you cannot recover the information.

Examples

deltree c:\fake010

Deletes the fake010 directory and everything in it.

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope