Using Dos7 Commands - About These Pages
What's NewWelcome to the "Using Dos7 Commands" pages. I have made minor changes, but regular users of these pages should find themselves at home as I have kept the same look and feel. The most noticable change is the left command index is grouped differently than the command tables on the main page. There are additional pages, as well, such as the Windows keyb shortcuts page.
These pages are designed to remind the occasional user of Dos commands just what is on offer. I realize that few people using Windows 95/8 are going to open a DOS window and most of those that do will be pretty familiar with the somewhat similar commands of previous MS-DOS versions. Nevertheless, there are some differences, and Dos can do things that are difficult or impossible in Windows.
The focus of this site is the syntax and use of the commands. Although my initial plans were grandiose, I have found that keeping on top of just this is as much as I can handle. There are several excellent sites covering batch files and a number that offer tutorials/general advice (see the links page on The Batfiles Home Page).
I hope to expand this list as time permits, but in the meantime I would be most grateful for any comments, especially with respect to:
Note: Dos7.x ships with Windows 95 and 98. I believe commands in WinME are pretty much the same (but haven't been tested). Commands in any "NT" version of Windows including Win2000 and WinXP are similar but different. Using these pages for those versions is liable to confuse and frustrate!
On the whole I have followed the conventions for command syntax that seem to have been around since Dos began (if not before). However, in an effort to simplify the syntax lines, I have taken a couple of shortcuts:
Some of the command switches listed here are "undocumented" or, more accurately, "unofficial" . This means that they are recognized by the command, but MS does not support them and will not attempt to explain how to use them.
In most cases such commands do not provide the safeguards MS likes to see in the commands available to the general user: for example FORMAT c: /autotest will reformat the C: drive without any further ado - no warnings, nothing.
In other cases the function of the switches appears pretty harmless and it would seem that MS is reserving judgment - maybe the switch will be dropped in the next version of Dos (if there is one) and maybe not. For example, it is hard to see COMMAND's /Z switch (displaying the ERRORLEVEL number returned by external DOS commands) causing much grief.
Finally, it is possible that some of these switches are not 100% reliable on all systems - so: user beware!
However, undocumented commands have been around since the beginning of Dos and are an interesting, albeit minor, part of the game.
To avoid confusion, I have formatted undocumented commands to appear in grey (in those browsers supporting the font-color tags).