Talk:DELTREE

Latest comment: 7 years ago by InternetArchiveBot in topic External links modified
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)Reply

Sources for rewrite

edit
  • Glass, Brett (July 8, 1991). "MS-DOS 5: Reigning OS improves its value". InfoWorld. pp. 64–66.
  • 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 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 [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. 79.183.65.10 (talk) 11:30, 16 September 2014 (UTC)Reply

Thanks.   Codename Lisa (talk) 11:02, 18 September 2014 (UTC)Reply
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.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • 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.

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