Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam

 <  Day Day Up  >  

Using DELTREE

The DELTREE utility is used to remove the specified folder and folders beneath the specified folder in Windows 9x/Me only. Unlike RMDIR ( RD ), DELTREE works on folders that contain files.

C:\WINDOWS\Desktop>deltree /? 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.

For example, to remove the JUNK folder stored one level below the current folder and all folders beneath it (including the files they contain), use

From a command prompt, you will probably prefer to use the abbreviations listed in Table WCR.2. However, I have listed the full forms of each command in the examples because the Windows 2000/XP Recovery Console doesn't support the abbreviations for these commands.

DELTREE JUNK

DELTREE is a very powerful and potentially dangerous command. It is not supported in Windows NT/2000/XP.

 <  Day Day Up  >  

Категории