Talk:DELTREE
This article was nominated for deletion on 6 September 2014 (UTC). The result of the discussion was no consensus. |
This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||
|
microsoft.com 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]- 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".
- Ravichandran, D. (2001). Introduction to Computers and Communication. Tata McGraw-Hill. p. 270. ISBN 0-07-043565-0.
- The "Directory Related Commands" are chdir, mkdir, rmdir, xcopy, tree and deltree.
- Cooper, Jim (2002). Using MS-DOS 6.22 (3rd ed.). Que. pp. 120–121. ISBN 0-7897-2573-8.
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.
- Mueller, John Paul (2007). Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000. Wiley. pp. 28–29. ISBN 978-0-470-04616-6.
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.
- Bhardwaj, Pawan K. (2006). How to Cheat at Windows System Administration Using Command Line Scripts. Syngress. p. 446. ISBN 1-59749-105-5.
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.
- Crayton, Christopher (2008). The A Exams Guide: Preparation Guide for the CompTIA Essentials. CompTIA. p. 336. ISBN 978-1-58450-566-2.
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.
- Casey, Eoghan (2004). Digital Evidence and Computer Crime. Academic Press. p. 543. ISBN 0-12-163104-4.
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].
- Glass, Brett (May 2, 1994). "How to safely defuse an ANSI bomb; video scan converters". InfoWorld. p. 40.
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!
- Dickinson, John (May 28, 1985). "Stalking the Elusive Subdirectory Path". PC Magazine. p. 231.
- 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)
- Thanks. 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:
- 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.
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)