From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing / Software (Rated Stub-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software.
Note icon
This article has been automatically rated by a bot or other tool as Stub-Class because it uses a stub template. Please ensure the assessment is correct before removing the |auto= parameter. link[edit]

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[edit]

  • 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."
  • Rubenking, Neil J. (November 19, 1996). "User-to-User". PC Magazine. p. 247. 
  • A trailing "\" in the path removes everything underneath the specified directory but not the directory itself.
  • DELTREE ignores "read-only, hidden, and system attributes".
  • 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—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: Delete d:path and all its subdirectories? [Y/N] .... 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.
  • 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
  • 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 [1].
  • 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.

(Rewrite) DOS 2.0 Comment[edit]

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. (talk) 11:30, 16 September 2014 (UTC)

Thanks. Face-smile.svg Codename Lisa (talk) 11:02, 18 September 2014 (UTC)

External links modified[edit]

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:

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

You may set the |checked=, on this template, to true or failed to let other editors know you reviewed the change. If you find any errors, please use the tools below to fix them or call an editor by setting |needhelp= to your help request.

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

If you are unable to use these tools, you may set |needhelp=<your help request> on this template to request help from an experienced user. Please include details about your problem, to help other editors.

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