Talk:DELTREE

microsoft.com link
I added the link to MS's site on the command, but I don't feel as if I'm a good enough editor to really put in correct ciations. Perhaps someone could pick up where I left off. --GaidinBDJ (talk) 14:14, 12 December 2008 (UTC)

Sources for rewrite

 * Version 5.0 [of MSDOS] is easier to use than earlier versions, with a better graphic shell, history facility, and full-screen editor. However, it still lacks a few of the enhanced commands present in DR DOS, such as recursive file deletion, and both still omit such vital operations from the commands line as "move file" and "rename directory."
 * Version 5.0 [of MSDOS] is easier to use than earlier versions, with a better graphic shell, history facility, and full-screen editor. However, it still lacks a few of the enhanced commands present in DR DOS, such as recursive file deletion, and both still omit such vital operations from the commands line as "move file" and "rename directory."


 * A trailing "\" in the path removes everything underneath the specified directory but not the directory itself.
 * DELTREE ignores "read-only, hidden, and system attributes".
 * DELTREE ignores "read-only, hidden, and system attributes".


 * The "Directory Related Commands" are chdir, mkdir, rmdir, xcopy, tree and deltree.
 * The "Directory Related Commands" are chdir, mkdir, rmdir, xcopy, tree and deltree.


 * The DELTREE command, new in DOS 6.0, make the RD command obsolete.
 * This command removes the directory you specify and everything in it&mdash;subdirectories, files and files in subdirectories. In addition, attributes of files in the subdirectories are ignored. You do not need to use ATTRIB to clear attributes such as Read-only or Hidden before you delete them.
 * The /Y parameter is optional. Because DELTREE is a potentially dangerous command, capable of wiping out hundreds of files at a time, DOS normally displays the following message:    .... If you use the /Y parameter, however, the message does not appear.
 * The /Y parameter is optional. Because DELTREE is a potentially dangerous command, capable of wiping out hundreds of files at a time, DOS normally displays the following message:    .... If you use the /Y parameter, however, the message does not appear.


 * Yes, you can recover a directory removed with DelTree using a special file recovery program, but you should use this particular command with caution.
 * Vista doesn't support the DelTree command.
 * DELTREE [/Y] [drive:]path drive:]path[... Not particularly clear, that....
 * NOTE: Unlike many commands that add, remove, or modify directories, you can specify multiple paths using the DelTree command.
 * NOTE: Unlike many commands that add, remove, or modify directories, you can specify multiple paths using the DelTree command.


 * In Windows XP/2003, you can obtain this functionality by using the /s switch for the rmdir command.
 * In Windows XP/2003, you can obtain this functionality by using the /s switch for the rmdir command.


 * Need cite.
 * The equivalent unix command is sudo rm -rf, but this respects attributes and permissions.


 * External DOS commands are typically located in the C:\DOS directory. They are usually associated with running a program or a task. .... examples ... are DELTREE, ATTRIB, EDIT and MEM.  Contrast with internal commands, which are resident in command.com.
 * External DOS commands are typically located in the C:\DOS directory. They are usually associated with running a program or a task. .... examples ... are DELTREE, ATTRIB, EDIT and MEM.  Contrast with internal commands, which are resident in command.com.


 * CASE EXAMPLE (NEW JERSEY 1996): Tim Lloyd, the primary system administrator for Omega Engineering Corporation, was ... fired .... In retaliation, Lloyd executed time-delayed commands on Omega's primary server .... Specifically the method of initiation was a modified version of the DELTREE command ... to delete everything on the drive combined with the PURGE ... command to obliterate the deleted data. .... Experts spent years recovering pices of information from the servers....  The case was litigated as United States v. Lloyd, 269 F.3d 228 (3rd Cir. 201).  The modified deltree was for Novell systems.  See.
 * CASE EXAMPLE (NEW JERSEY 1996): Tim Lloyd, the primary system administrator for Omega Engineering Corporation, was ... fired .... In retaliation, Lloyd executed time-delayed commands on Omega's primary server .... Specifically the method of initiation was a modified version of the DELTREE command ... to delete everything on the drive combined with the PURGE ... command to obliterate the deleted data. .... Experts spent years recovering pices of information from the servers....  The case was litigated as United States v. Lloyd, 269 F.3d 228 (3rd Cir. 201).  The modified deltree was for Novell systems.  See.


 * An ANSI bomb is a sequence of characters, embedded in ASCII text, that causes ANSI.SYS to do something unexpected and potentially catastrophic. .... But a more malevolent incantation could redefine the Enter key on your keyboard to substitute a destructive command, such as DELTREE C:\*.* /Y, for each DOS command you typed!
 * An ANSI bomb is a sequence of characters, embedded in ASCII text, that causes ANSI.SYS to do something unexpected and potentially catastrophic. .... But a more malevolent incantation could redefine the Enter key on your keyboard to substitute a destructive command, such as DELTREE C:\*.* /Y, for each DOS command you typed!


 * subdirectories were introduced in MS-DOS 2.0; they did not support accessing data files except in the current directory.
 * subdirectories were introduced in MS-DOS 2.0; they did not support accessing data files except in the current directory.

(Rewrite) DOS 2.0 Comment
As for the last comment above: "subdirectories were introduced in MS-DOS 2.0; they did not support accessing data files except in the current directory."

That's not true, and the referenced article doesn't say this, either. It claims only that *older* software -- i.e., software written for DOS 1.x -- wasn't given a way to do this in DOS 2.0 (in contrast to the PATH variable, which did allow older programs to access executable files). The limitation was in the older programs, not in the new DOS; any program that was DOS 2.0-aware could access any file in any directory just fine.

Edited the relevant snippet within the article to reflect this. 79.183.65.10 (talk) 11:30, 16 September 2014 (UTC)
 * Thanks. { Codename Lisa (talk) 11:02, 18 September 2014 (UTC)

External links modified
Hello fellow Wikipedians,

I have just modified one external link on DELTREE. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
 * Added archive https://web.archive.org/web/20100317025526/http://malektips.com:80/2000wd0008.html to http://malektips.com/2000wd0008.html

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

Cheers.— InternetArchiveBot  (Report bug) 15:51, 31 December 2016 (UTC)