Microsoft DOS DATEDBLSPACEDEBUGDEFRAGDELDELOLDOS Draft for Information Only
ContentMS DOS Command: DELTREE.EXE
MS DOS Command: DELTREE.EXEReference from Microsoft MS-DOS cmd help DescriptionDeletes a directory and all the files and subdirectories that are in it. SyntaxDELTREE [/Y] [drive:]path [[drive:]path[...]]
Parameters
Switch
Related CommandsFor information about removing a directory, see the RMDIR command. For information about deleting files, see the DEL command. RemarksDELTREE and hidden, system, and read-only attributesThe DELTREE command deletes all files contained in a directory or subdirectory, regardless of attributes. Errorlevel parametersIf DELTREE successfully deleted the directory, it returns an ERRORLEVEL value of 0. Using wildcards with DELTREEYou can use wildcards with the DELTREE command, but use them with extreme 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 command to view the files and directories you will delete. ExamplesTo delete the TEMP directory on drive C, including all files and subdirectories of the TEMP directory, type the following at the command prompt: deltree c:\temp ©sideway ID: 110700155 Last Updated: 7/25/2011 Revision: 0 Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 18 Reference 79 Computer Hardware 254 Software Application 213 Digitization 37 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019