ProProfs - The Knowledge FREEway ProProfs
CompTIA Home
 Network+ Exam
A+ Certification
Study Guide
Articles
Active Membership
Practice Questions
Practice Exams
Software
Tutorials & Tips
Cram Sheets
A+ Forum
A+ Wiki
A+ WebSchool
A+ Flashcards
A+ Quiz School
APlus Jobs
A+ Book Deals
Deals On Ebay
Google
Web ProProfs.com
SAT Test

A+ Study Guide: Command Line & OS Utilities

DELTREE
Opens More Info in a new browser window
   Click on the image to zoom

Deletes a directory and all the files and subdirectories that are under it.

All files contained in a directory or subdirectory is deleted, regardless of attributes such as hidden, system, and read-only.

Syntax

DELTREE [ /Y ] [ drive: ] path [ [ drive: ] path [ ... ] ]

Switch

/Y      Suppresses prompting to confirm you want to delete the subdirectory

Example

deltree c: \ windows \ test

Deletes the test directory and everything in it.

 
AddThis Social Bookmark Button
Google
 
Web ProProfs.com