Fixing the dos tag has no easy solution. First you'd have to decide whether it's a tag worth keeping and if so how it should be defined. Second you'd then need to go through all 2000 posts with the tag and retag them accordingly.
Justification for Burnination
As you note, SuperUser decided that the tag wasn't worth keeping, and in fact they went so far as to blacklist the tag, something that rarely happens. So burninating the tag here may also be a good idea. The policy on burnination gives four different reasons for removing a tag:
- Does it describe the contents of the questions to which it is applied? and is it unambiguous?
- Is the concept described even on-topic for the site?
- Does the tag add any meaningful information to the post?
- Does it mean the same thing in all common contexts?
Of these I think you can make a strong case for 3 and 4 applying to the dos tag. For questions related to the MS-DOS operating system and it clones and emulation this tag is redundant. The ms-dos tag covers any question using the MS-DOS programming interfaces, even if they're not actually provided by MS-DOS.
The big problem with the tag is number 4. It has multiple meanings and worse a commonly used meaning is considered incorrect. Specifically dos is used to refer to:
- MS-DOS and related operating systems
- (incorrectly) the Windows command line or Windows console windows
- Denial of service attacks
- (in theory) operating systems with DOS in their name unrelated to MS-DOS (eg. Amiga DOS, TRSDOS)
If it were just the last two it probably wouldn't be worth burninating the tag, it would be better to just retag the relatively few denial of service posts. I'm not sure if the tag has actually ever been used to refer to an OS that's not related to MS-DOS.
The incorrect usage of the dos combined with its redundancy I believe provide sufficient justification for following SuperUser's lead and burninating the tag here. The problem is that this would be no easy task. It's not just that there almost 2,000 posts to retag, figuring out how to retag them correctly requires a fair bit consideration and expertise.
How to Retag
I've been lazily retagging questions that are inappropriately tagged with msdos for a while now. As new questions with this tag get posted and old questions become active I edit and retag these questions as necessary. Unfortunately, it can be difficult tell whether a batch file question is MS-DOS or Windows related.
Based on my experience here are my recommendations for retagging dos questions, regardless of whether the tag is being completely burninated or not:
Retagging MS-DOS and Related OS Questions
Questions that use MS-DOS programming interfaces (eg. INT 21h
) or batch-file questions that are using the MS-DOS COMMAND.COM
command interpreter should be retagged as ms-dos. If they're specific to a particular emulator (eg. dosbox or clone (eg. freedos) make sure that these tags included as well. Watch for questions that don't use MS-DOS programming interfaces at all. For example while a custom bootsector runs in 16-bit real-mode, it loads instead of MS-DOS so the tag doesn't apply.
Retagging Windows Command Prompt Questions
A lot of these questions are ambiguous. A question like "How do I read a line into a variable in a batch-file?" is equally valid for MS-DOS and Windows (and OS/2 for that matter) despite the fact they have much different answers. Unfortunately, posters rarely spell out in the question which OS they're using. Asking them is often fruitless, even for new posts they either don't respond or don't understand the question.
If any of the following are true about the question, or any comments made by the original poster, I retag them as a Windows question:
- it has the windows tag
- it mentions Windows or a version of Windows (eg. Vista)
- the question uses in an example any batch features or commands not supported by MS-DOS (eg.
set /p
or findstr
)
- the question refers to software or technology that either doesn't run under MS-DOS (eg. Chrome) or is extremely unlikely to be used under MS-DOS either currently or historically (eg. a Web server).
Note that early versions of software like Excel and Word did run under MS-DOS so it's not as definitive an indication that the questioner isn't using MS-DOS as I would prefer.
I don't retag based on the answers despite the fact that often questions like these have answers that only work under Windows. Even if the original poster accepts one of them, unless there's some supporting comment (eg. "It worked"), I don't find this sufficient proof of the questioner's intent.
If you're retagging with the goal of burninating the tag then you may be forced to choose between the MS-DOS and Windows tags. In that case the answers would make for a good tie-breaker for cases there's no good evidence of intent. Otherwise I would just leave these questions alone.
Windows batch-file file questions should be retaged with the windows, cmd and batch-file. Avoid tags like command, command-line or command-prompt. These tags are rarely useful as they refer to the tagged thing itself. In particular the later tag is for the string displayed as a prompt for a command. The tag for the Windows command prompt, the console application that provides an interactive command interpreter and executes batch files (called simply "Command Prompt" by Windows), is cmd.
Retagging Windows Console Questions
Questions related to Windows' console windows and console applications sometimes are inappropriately tagged. These kinds of questions, ones that aren't batch related and involve code written in other languages like C# or Python, are almost always unambiguously Windows related. Most of these questions should be retagged with windows and console-application.
Dealing with Other Kinds of Questions
Questions about denial of service attacks should be retagged with denial-of-service. Questions about DOS operating systems unrelated to MS-DOS should be retagged with a tag specific to the OS.
You'll also discover a number of questions that are off-topic for one reason or an other. This includes a fair number of "DOS" questions that aren't programming related. If you have the privilege vote to close these questions.
Editing
Finally if you determine that the question isn't about MS-DOS or a related OS and retag it accordingly, you should also edit out any mention of DOS or MS-DOS in the question. You should also do any other editing necessary to bring the post up to standard (fix grammar, formatting, remove fluff, etc...), but it particularly important to replace these words so they don't encourage further misuse of the tag.
[dos]
and see the samples of the long queue.[cmd]
or[batch]
or something like that? @HansPassant, most of the newer crowd really mean[cmd]
or[powershell]
when they say[dos]
. (Perhaps Microsoft is here again to blame.)cmd
orpowershell
, and refer users with new questions to the more precise tags instead.mips
andassembly
.