< Day Day Up > |
Using DELTREEThe 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
DELTREE JUNK DELTREE is a very powerful and potentially dangerous command. It is not supported in Windows NT/2000/XP. |
< Day Day Up > |