DELTREE deletes files and directories, and all the subdirectories and files in it regardless of whether files are marked as hidden, system, or read-only

Data Recovery PRO DATA DOCTOR

Home | Order Online | Downloads | Contact Us | Software Knowledgebase

it | es | pt | fr | de | jp | kr | cn | ru | nl | gr


DELTREE

Deletes Files and Directories, and all the Subdirectories and files in it.

Syntax:

To delete a directory and all the subdirectories and files contained therein:

DELTREE [/Y] directory

directory The directory to be deleted.

/Y Suppresses prompts for confirmation before deletion.

To delete all the files and subdirectories but leave the directory itself:

DELTREE [/Y] directory\*.*

To delete a file:

DELTREE [/Y] filename

The DELTREE command deletes all files contained in a directory or subdirectory, regardless of whether files are marked as hidden, system, or read-only.

The DELTREE command supports wildcards, but they should be used with some caution. If you specify a wildcard that matches both directory names and filenames, both the directories and files will be deleted.

Before specifying wildcards with the DELTREE command, use the DIR /A command to view the files and directories you will delete. It is also safest to specify the full path to avoid any surprises from ambiguous specification. Let us see some examples.

To delete the NOTES directory on drive C, including all files and subdirectories of the NOTES directory:

DELTREE c:\notes

To delete all the files and subdirectories in the NOTES directory leaving an empty directory NOTES for future use, and avoiding the prompt for confirmation:

DELTREE /Y c:\notes\*.*

To delete the read-only file recover.doc in the c:\data directory without resetting the attributes:

DELTREE /Y c:\data\recover.doc

Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi
Data Recovery with & without Programming


Publishers of the Book
Number of Pages
ISBN
Price of the Book


BPB Publications, New Delhi, India
540
81-7656-922-4
$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)





Buy Data recovery Book

Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

Next page

© Copyright 2002-2005 DataDoctor.Biz

Home | Contact us | Downloads | Services | Terms and conditions | Site map

Website Data Recovery | recuperación de Datos | Récupération de données | Datenrettung | Recupero dati | データ復旧 | 데이터 복구 | 数据恢复 | Восстановление данных | De terugwinning van gegevens | Ανάκτηση δεδομένων
Sitemap Site map1 2 3 4 | Spanish1 2 3 | French1 2 3 | German1 2 3 | Italian1 2 3 | Portuguese1 2 3 | Japanese1 2 3 | Korean1 2 3 | Chinese1 2 3 | Russian1 2 3 | Dutch1 2 3 | Greek1 2 3
Data Recovery Book English | Spanish | French | German | Italian | Portuguese | Japanese | Korean | Chinese | Russian | Dutch | Greek