The World of DOS

Introduction(1)
History(1)
DOS/Win3.11/95/98 vs. NT/ME/XP/2000(1)
Command Index(1)
Navigating DOS(2)
Tips and Tricks(2)
Network/Harware Utilities(3)
How to make and use bootable floppy disks(3)
Batch Files(4)
Creating Batch Files(4)
Batch file utilities and commands(4)
The AUTOEXEC.BAT file(4)
Types of Batch and System Files(4)
Parameters in batch files(4)
Batch File Library(5)
Subject Index(5)
Helpful DOS Links(5)

Introduction

DOS stands for Disk Operating System. There are many versions of DOS available, but Windows 95/98/NT machines use MS-DOS*. DOS is a command line environment that sits beneath Windows systems. Before Windows, there was only DOS. With DOS a user can do most of the functions that one would do with Windows; make directories, edit files, run programs, compile code, print, get on-line. In fact, most of the operations of Windows are just graphical representations of the functions that DOS does. Some earlier versions use different commands, some new versions have depricated the old commands. The commands described here are fairly common to all and are still current in recent versions of MS-DOS. Refer to your DOS documentation for specifics.

History

The History of DOS
History Of DOS
DOS (Disk Operating System)
THE HISTORY OF DOS

"Chicago"
If you open enough system files in Windows, you will see the reoccurring use of the word "chicago" with seemingly no purpose. When Windows95 was in early development its secret name was "Chicago." Either people were to lazy to take the reference out or they left in out of a sense of nostalgia. Chicago shows up in just about every Windows .inf, .ini, .sys and .dll file. Just search your drive for files containing the word "chicago" and you'll get well over 100.

DOS/Win3.11/95/98 vs. NT/ME/XP/2000

There are fundamental differences between the original Windows set up and the "NT" set up. There are, of course, differences between all versions of Windows systems, but the introduction of NT took the OS in a different direction. In general I will refer to ME, XP, and 2x as "NT" since they have a similar structure. The following list of commands represents all DOS commands, not all of them will work on your system. Whenever possible, the difference has been indicated here.

Command Index

A-B-C-D-E F-G-H-I-J K-L-M- N-O-P-Q -R-S-T U-V-W- X-Y-Z



---A---


ACCOUNTS

See NET.


ANSI.SYS

Defines functions that change display graphics, cursor control, and reassign keys. Called by CONFIG.SYS. More.


APPEND

Somewhat archaic. Allows files to be opened by programs from other directories as if they were in the same directory


ARP

Address Resolution Protocol, binds a network-layer IP address to an Ethernet address. Type ARP/? for list of commands.


ASSIGN

Reassign one disk to another. ASSIGN A:=C: To view the current assignments: ASSIGN /STATUS


ASSOC

Displays and modifies file extension associations. Simply typing ASSOC will give you an alphabetical list of all the file extensions and the file types/applications they are associated with. To change one enter ASSOC .file-ext=file-type


AT

Schedules commands and programs to run on a computer. Simply typing AT will show a list of current scheduled processes. Chances are there wont be any. Enter: AT current time + 2 minutes NET SEND your machine name Hello This will send you a network message in five minutes. If it is 3PM and your machine name "MyPC" the exact command would be AT 15:05 NET SEND Hello. Now, if you type AT you will see a list of scheduled commands. To remove one use the ID number: AT 1 /delete. You can also use this to run batch files or programs at given times and dates.


ATTRIB

Displays file ATTRIButes. Typing ATTRIB on command line will reveal the attributes of all the files in the current directory even if they are hidden. ATTRIB will show information that DIR will not. Typing ATTRIB and a filename will reveal the attributes of that file. Example: ATTRIB C:\AUTOEXEC.BAT

There are four flags that can be set by ATTRIB:
R - Read Only
A - Archive
S - System
H - Hidden

These are turned on by the + and off by -
Example: ATTRIB +H C:\AUTOEXEC.BAT will turn the hidden flag on. ATTRIB -H C:\AUTOEXEC.BAT will turn the hidden flag off. ATTRIB +R +A +S +H C:\AUTOEXEC.BAT will turn all the flags on, ATTRIB -R -A -S -H C:\AUTOEXEC.BAT will turn them all off. In some cases you may need to add a /S to save the changes, but I have been able to do it without the s switch.

This can also be done by right-clicking a file in Windows and, selecting properties and general. More. Displays or changes file attributes.

In NT/2x many of ATTRIB's fucntions have been moved to DIR. DIR/AH will show hidden files.

---B---


BACKUP

Backs up files to a designated location. This has been replaced by backup programs. It was possible to use parameters like: BACKUP C:\ D: /S /D:12/31/1980, this command would backup all the files on C: to D: that were created on Dec 31, 1980 or after.


BREAK

Used in CONFIG.SYS. Sets CTRL+C checking. BREAK ON and OFF to turn it on or off. Just typing BREAK will reveal the current setting. More. Sets or clears extended CTRL+C checking.


BUFFERS

Allocates memory for a specified number of disk buffers. Called from CONFIG.SYS

---C---


CACLS

Displays and modifies Access Control Lists. WINNT


CALL

Calls a batch file or program from within a batch file. the calling batch file does not continue until contol is returned by the program/file being called. More. Calls one batch program from another.


CD and CHDIR

"Change Directory" - navigates through windows directories(folders). More

Displays the name of or changes the current directory. More.

CERTUTIL

Certificate utility for digital certificates. See MAKECERT


CHCP

Extends the windows character set by setting the Active Code Page which is usually determined by the COUNTRY command in config.sys. Can also be done with GRAFTABL.

CHCP in NT: Displays or sets the active code page number. Accepts a three digit code for a regional character set:
437 United States
850 Multilingual (Latin I)
852 Slavic (Latin II)
855 Cyrillic (Russian)
857 Turkish
860 Portuguese
861 Icelandic
863 Canadian-French
865 Nordic
866 Russian
869 Modern Greek


CHDIR

Displays the name of or changes the current directory. Same as CD.


CHKDSK

"Check Disk" Scans hardrives(or other disks) for errors, bad files, damage, etc. May not work in some versions of Windows, use SCANDISK. There are lots of options with this utility so check the switch parameters. Checks a disk and displays a status report. More.


CHKNTFS

Checks a disk at boot and modifies the disk parameters


CHOICE

Sets up a selection menu and structure in batch files. Has been removed from most new versions More.


CLEANUP

Disk cleanup utility.


CLS

Clears previous entries in the DOS window. More.


CLUSTER

Network management tool.

CLUSTER /LIST[:domain-name]
CLUSTER [[/CLUSTER:]cluster-name] < options >

< options > =
  /PROP[ERTIES] []
  /PRIV[PROPERTIES] []
  /PROP[ERTIES][:propname[,propname ...] /USEDEFAULT]
  /PRIV[PROPERTIES][:propname[,propname ...] /USEDEFAULT]
  /REN[AME]:cluster-name
  /VER[SION]
  /QUORUM[RESOURCE][:resource-name] [/PATH:path] [/MAXLOGSIZE:max-size-kbytes]
  /SETFAIL[UREACTIONS][:node-name[,node-name ...]]
  /REG[ADMIN]EXT:admin-extension-dll[,admin-extension-dll ...]
  /UNREG[ADMIN]EXT:admin-extension-dll[,admin-extension-dll ...]
  NODE [node-name] node-command
  GROUP [group-name] group-command
  RES[OURCE] [resource-name] resource-command
  {RESOURCETYPE|RESTYPE} [resourcetype-name] resourcetype-command
  NET[WORK] [network-name] network-command
  NETINT[ERFACE] [interface-name] interface-command

< prop-list > =
  name=value[,value ...][:] [name=value[,value ...][:] ...]
< format > =
  BINARY|DWORD|STR[ING]|EXPANDSTR[ING]|MULTISTR[ING]|SECURITY|ULARGE
CLUSTER /?
CLUSTER /HELP
More.


CMD

Opens a command line or process in WINNT systems. Go to Start, Run and type CMD. Replaces COMMAND. Typing it on an already open DOS prompt shows the version information. More.


COLOR

Changes the background and text colors in a DOS window. Use COLOR followed by a two digit hex code. The first is the background, the second is the text.

0 = Black8 = Gray
1 = Blue9 = Light Blue
2 = GreenA = Light Green
3 = AquaB = Light Aqua
4 = RedC = Light Red
5 = PurpleD = Light Purple
6 = YellowE = Light Yellow
7 = WhiteF = Bright White
Example: COLOR 70 reverses the default setting. You cannot set both attributes to the same color. Sets the default console foreground and background colors. More.


COMP

Compares the contents of two files or sets of files. Also see FC. More.


COMPACT

Displays or alters the compression of files on NTFS partitions. More.


COMPUTER

See NET.


COMMAND

Opens a command line or process in Windows systems. Go to Start, Run and type COMMAND. Replaced by CMD. Typing it on an already open DOS prompt shows the version information. More. Bug: In some versions of NT COMMAND will produce an error and so the same thing as CMD.


CONFIG

See NET.


CONFIG SERVER

See NET.


CONFIG WORKSTATION

See NET.


CONFIG.SYS

Sets environment variables. config.sys


CONVERT

Converts FAT volumes to NTFS. You cannot convert the current drive. More.


COPY

Copies files.
COPY C:\myfile.txt A:\myfile.txt
More.


COUNTRY

Sets the language/character set used on the computer. Often not used in later Windows versions. config.sys


CTTY

Somewhat archaic, not available in Win2K and above. Stands for "Change Teletype." The command was/is used to change the I/O location, usually from the monitor to somewhere else.
More: 1, 2, 3

---D---


DATE

Show the system date and alows you to change it. Type with no parameters to change the date, enter DATE/t to show the time without propmting the change. You may also enter DATE followed by a new date, but it must be formatted properly. Example: DATE 12/25/2004. The highest date that can be entered is 12/06/8907, the earliest 01/01/1980. No clue what the significance is.



DBLSPACE.EXE

More.


DCOMCNFG

Distributed COM Configuration. More.


DEBUG

A command-line testing and editing interface for writing assembly code. Type DEBUG and then ? at the new prompt to get a list of commands.
More


DEFRAG

DEFRAGment the hard drive.
More.


DEL

DEL is the Delete program in DOS. DEL allows you to delete files. For example, typing DEL TEMP.TMP will delete the file temp.tmp. Warning! Using the DEL command in DOS is not like deleting in Windows, there is no Recycle Bin, the files are gone. If you accidentally delete systems files, you are going to have some problems. Only delete files that you are sure about. Deletes one or more files. Note that DELTREE is not available in many NT systems.


DELOLDOS

Deletes old versions of DOS during an upgrade


DELTREE

Deletes a directory, its subdirectories and files. Does not work in NT.


DEVICE

Loads a device driver in DOS. config.sys


DEVICEHIGH

Loads a device driver in DOS upper memory. config.sys


DIR

"Directory" - Displays information about windows directories(folders). More. Displays a list of files and subdirectories in a directory.

In NT/2x DIR has been expanded to take on functions that were in ATTRIB before. DIR/A will show items that are hidden or have special attributes. DIR/AD will show all directories, hidden or not. R, A, S, H switches are also available just as in ATTRIB. - can be used for "not", example: DIR/A-D will show directories that are not hidden.


DISKCOMP

Compares the contents of two floppy disks. More.


DISKCOPY

Copy the entire contents of a disk to another. Example: DISKCOPY A: B:

Copies the contents of one floppy disk to another.


DISPLAY.SYS

Enables the display of international character sets. Not present in many later versions of DOS. More.


DOS

Loads DOS in the high memory area. config.sys


DOSKEY

Type in DOSKEY at the prompt, the DOSKEY program is now loaded. DOSKEY keeps a history of all the commands you type in each session so you can reuse them without typing them in over and over again. You may view your history by hitting the Up-arrow on your keypad. DOSKEY is active in NT by default, but not in WIN2K. More. Edits command lines, recalls Windows NT commands, and creates macros.



DOSHELP

See HELP.


DOSSHELL

More.


DOSX

A 386 DOS extender.


DRIVER.SYS

Used for adding new divices to a PC that originally did not support them.


DRIVPARM

Supresses default device drives when config.sys is loaded

---E---


ECHO

Echos commands. More. Displays messages, or turns command echoing on or off.


EDIT

At the command prompt type EDIT. The screen should turn blue with a menu bar at the top. This is the DOS EDIT program and it can come in handy. Click on the "File" menu then click "Exit". You should be back at the prompt. With EDIT you can view and alter just about any file on your system, even ones Windows will not allow you to. Warning! Altering system or program files in EDIT can have serious consequences. Make copies of any file you edit and work on the copy so the original remains intact incase you screw up. Believe me, making copies is much easier that reloading your operating system. This time EDIT TEST.TXT this will open the editor and create a text file called "test.txt". Type in some random text. For a moment stop using your mouse. Press <-Alt-> and then the Down-arrow on your key pad. This will dropdown the "File" menu. This is how navigation was done before the mouse. Learning how to use the keyboard for navigation can be useful something goes wrong with your computer or your mouse wont work. Save your work and exit the editor. Also see EDLIN. More. Text-level file editor.


EDLIN

A command line editor that came before EDIT and disapeared for a while but is has been resurected in recent versions of NT. WINNT.
EDLIN tutorial. EDLIN commands. Old style command line file editor. Does not open a new window like EDIT


ENDLOCAL

Ends localization of environment changes in a batch file.


EGA.SYS

Saves display when configuring EGA monitors.


EMM386/EMM386.EXE

Extended memory manager for older PCs with less memory.


ERASE

Works the same as DEL, I have seen no differences between the two in the options or switches. Deletes one or more files.


EXE2BIN

Converts .EXE files to binary format.


EXIT

Exits command shell. General. Batch file use. Quits the command line prompt, closes the DOS window, quits CMD.EXE, stops batch files.


EXPAND

Expands compressed files. Specifically Windows .cab files. Similar to unzip.

---F---


FASTHELP

Not present in most new versions. Gave quick access to DOS command help, listed all commands with brief descriptions.


FASTOPEN

FASTOPEN will keep track of the last location of designated files. After applying FASTOPEN you can type the name of the file in any directory and it will open, unless the file has been moved. It may only be possible to access FASTOPEN from system32.


FC

"File Compare", this compares the contents of two files and displays the differences(displayed as text) between them. Compares two files or sets of files, and displays the differences between them.


FCBS

Sets the number of File Control BlockS that a program can have open. config.sys


FDISK

Set up hard drive partitions. More.


FILE

See NET


FILES

Sets the number of files that may be open at any given time. config.sys.


FIND

Search for a string in a file or files. More.


FINDSTR

Search for a string in a file or files. More powerful than FIND.


FINGER

Display information about a user on a remote system.
FINGER user@domain


FOR

Runs a specified command for each file in a set of files. More.


FOR...IN...DO

Runs a specified command for each file in a set of files. More


FORCEDOS

FORCEDOS [/D directory] filename [parameters]

/D directory Specifies the current directory for
the specified program to use.
filename Specifies the program to start.
parameters Specifies parameters to pass to the program.


FORMAT

Formats fixed and removable disks. More. Formats a disk for use with Windows NT.


FTP

DOS FTP utility. More.


FTYP or FTYPE

Displays or modifies file types used in file extension associations.

---G---


GOTO

Jump to a section in a batch file. More. Directs the Windows NT command interpreter to a labeled line in a batch program.


GRAFTABL

Extends the windows character set by setting the Active Code Page which is usually determined by the COUNTRY command in config.sys. Can also be done with CHCP. Enables Windows NT to display an extended character set in graphics mode.


GRAPHICS

Loads a program that can prints graphics.


GROUP

See NET.

---H---


HELP and ?

Call up help files for DOS commands.
Simply type HELP on the command line to view a list of commands. Type command/? or command/HELP or HELP command to see a help file on a specific command. In some cases the help file will be displayed if you type a command without a parameter when one is required. Alone, shows a list of documented commands. Use HELP commandname to view that help file or commandname/?.


HELPMSG

See NET.


HELP SERVICES

See NET.


HELP SYNTAX

See NET.


HIMEM.SYS

---I---


INCLUDE

Used within config.sys.



IF, IF EXIST, and IF NOT EXIST

Performs boolean operations in batch files. More. Performs conditional processing in batch programs.


INTERLNK

More.


INTERSVR

More.


INSTALL

Loads a TSR. config.sys


IPCONFIG

In older windows versions it is winipconfig. Shows and modifies IP configuration. More. WINNT.

---J---


JOIN

Connects 2 disk drives


---K---


KEYB

More. Configures a keyboard for a specific language.

---L---


LABEL

Labels disks. More. Creates, changes, or deletes the volume label of a disk.


LASTDRIVE

Determine the last usable drive letter on a system. More. config.sys.


LOADFIX

Load and run a program above the first 64k of memory.


LOADHIGH OR LH

Load a program in the high area of memory.


LOCALGROUP

See NET.


LPT

For specifying an output location. LTP1, LTP2, LPT3, PRN. More.

---M---


MAKECERT

For creating certificates on the MS Server 2003 Certificate Service. MAKECERT usually has to be downloaded and does not come installed with Server 2003. Using MAKECERT About Public Keys.


MEM

More.


MEMMAKER

Program which optimises memory. Type HELP MEMMAKER to open the GUI interface.


MENUCOLR

Used with SUBMENU.
More.


MENUDEFAULT

Used with SUBMENU.
More.

MKDIR and MD

Creates directories(folders). More.


MODE

Configures a system device.


MORE

Controls the output of a DOS command when preceded by the pipe: '|'. More. Displays output one screen at a time. Preceded by the pipe "|" character. MORE is a filter.


MOVE

Moves files from one location to another, as opposed to copying. The MOVE command combines COPY and DELETE by copying a file then deleting the original.
MOVE C:\test.txt A:\test.txt, moves the file "test.txt" from C:\ to the A: drive.
You may also use MOVE to rename files in the new location. Example: MOVE C:\test.txt C:\windows\myfile.txt creates a copy with a new name and deletes the original. Copies and deletes a file at the same time. More.


MSAV

MicroSoft AntiVirus that runs from DOS. Type MSAV C: to run it on your C: drive.


MSCDEX

More.


MIRROR

Creates a copy of your drive to prevent data loss. The drive may be restored from the mirror file: MIRROR.FIL if the drive is erased.


MSBACKUP

MicroSoft Backup software that runs in DOS. Type HELP MSBACKUP to open the GUI interface.


MSD

A DOS interface which provides information about your computer, specifically information about serial and parallel ports. MSD.EXE is not part a typical installation. Type MSD at a command line to open the interface. More.

---N---


NBTSTAT

Obtains network protcol information using NETBios instead of TCP/IP


NAME

See NET.


NET

Various network utilities.

NET ACCOUNTS, NET CONFIG SERVER, NET COMPUTER, NET CONFIG, NET CONFIG WORKSTATION, NET CONTINUE, NET FILE, NET GROUP, NET HELP, NET HELP SERVICES, NET HELP SYNTAX, NET HELPMSG, NET LOCALGROUP, NET NAME, NET PAUSE, NET PRINT, NET SEND, NET SESSION, NET SHARE, NET STATISTICS, NET START, NET STOP, NET TIME, NET USE, NET USER, NET VIEW

More.


NETSH

A network tool.


NETSTAT

Shows local network activity. More.


NUMLOCK

Turns the keyboard number pad lock on or off. More.


NLSFUNC

More.


NSLOOKUP

More.

---O---

---P---


PATH

Sets a directory search order, a batch command. More. Displays or sets a search path for executable files.



PAUSE

Prompts for user input during a batch file run. More. Also see NET. Suspends processing of a batch file and displays a message.


PING

Send a bit stream to a remote host. More.


POPD

Restores the previous value of the current directory saved by PUSHD.


POWER

For laptops and portable devices, to conserve batteries.


PRINT
Not available on all versions, only works with text files, hangs a lot. I have not found it to be too useful. Example:

PRINT MYFILE.TXT

See NET. Prints a text file.


PROMPT

Modifies the DOS prompt. More. Changes the Windows NT command prompt.


PUSHD

Saves the current directory then changes it.

---Q---


QBASIC

The QBasic development shell. This program is probably not present or not loaded with Windows unless requested. This is the BASIC language development environment. It has been replaced by various "visual basic" programs that allow for the creation of Windows applications. QBASIC is a command-line editor that allows you to write some powerful executable programs. You may download it from various sites if you don't have it. More.

---R---


RAMDRIVE.SYS

Create a virtual drive in memory.


RD and RMDIR

Removes a directory.


RECOVER

Recovers data from a corrupted disk. This is not an "undelete" command. Recovers readable information from a bad or defective disk.


REGSVR32

Registers DLLs with the system.


REGEDIT

Calls the Windows Registry Editor. More.


REM

"REMark", Records comments in batch files. More.


REN or RENAME

REN is short for "rename" and is used to rename files. More. Renames a file or files.


REPLACE

Replaces one designated file with a second designated file. Replaces files.


RESTORE

Restores files that were backed up by using the BACKUP command.


RMDIR or RD

Remove directory More.


ROUTE

Manipulates network routing tables More.


RUNAS

Used to start a program on another machine as if it were being run locally, or under a different profile. RUNAS is often disabled for security reasons. Disable RUNAS. More: 1, 2


RUNDLL32

More.

---S---


SC

"Configure Services" on a WINNT server. Services can be found Start, Settings, Control Pannel, Administrative Tools, Services. Services are typically background processes that are started automatically when a machine is booted. Services exist on client machines, but the SC command is usually only available to administrator accounts. Services are often created through installation/setup scripts. The SC command allows you to create and configure services on the command line since the Services GUI generally has no interface for creating services although you can stop/start and modify services through the interface. Example:
sc create service name binPath= C:\where the program exe is start= auto DisplayName= the name displayed in Services
More: 1, 2, 3, 4, .

DESCRIPTION:
        SC is a command line program used for communicating with the
        Service Control Manager and services.
USAGE:
        sc <server> [command] [service name] <option1> <option2>...


        The option <server> has the form "\\ServerName"
        Further help on commands can be obtained by typing: "sc [command]"
        Commands:
          query-----------Queries the status for a service, or
                          enumerates the status for types of services.
          queryex---------Queries the extended status for a service, or
                          enumerates the status for types of services.
          start-----------Starts a service.
          pause-----------Sends a PAUSE control request to a service.
          interrogate-----Sends an INTERROGATE control request to a service.
          continue--------Sends a CONTINUE control request to a service.
          stop------------Sends a STOP request to a service.
          config----------Changes the configuration of a service (persistent).
          description-----Changes the description of a service.
          failure---------Changes the actions taken by a service upon failure.
          qc--------------Queries the configuration information for a service.
          qdescription----Queries the description for a service.
          qfailure--------Queries the actions taken by a service upon failure.
          delete----------Deletes a service (from the registry).
          create----------Creates a service. (adds it to the registry).
          control---------Sends a control to a service.
          sdshow----------Displays a service's security descriptor.
          sdset-----------Sets a service's security descriptor.
          GetDisplayName--Gets the DisplayName for a service.
          GetKeyName------Gets the ServiceKeyName for a service.
          EnumDepend------Enumerates Service Dependencies.

        The following commands don't require a service name:
        sc <server> <command> <option>
          boot------------(ok | bad) Indicates whether the last boot should
                          be saved as the last-known-good boot configuration
          Lock------------Locks the Service Database
          QueryLock-------Queries the LockStatus for the SCManager Database
EXAMPLE:
        sc start MyService


QUERY and QUERYEX OPTIONS:
        If the query command is followed by a service name, the status
        for that service is returned.  Further options do not apply in
        this case.  If the query command is followed by nothing or one of
        the options listed below, the services are enumerated.
    type=    Type of services to enumerate (driver, service, all)
             (default = service)
    state=   State of services to enumerate (inactive, all)
             (default = active)\n"
    bufsize= The size (in bytes) of the enumeration buffer
             (default = 4096)
    ri=      The resume index number at which to begin the enumeration\n"
             (default = 0)
    group=   Service group to enumerate
             (default = all groups)

SYNTAX EXAMPLES
sc query                - Enumerates status for active services & drivers
sc query messenger      - Displays status for the messenger service
sc queryex messenger    - Displays extended status for the messenger service
sc query type= driver   - Enumerates only active drivers
sc query type= service  - Enumerates only Win32 services
sc query state= all     - Enumerates all services & drivers
sc query bufsize= 50    - Enumerates with a 50 byte buffer
sc query ri= 14         - Enumerates with resume index = 14
sc queryex group= \"\"    - Enumerates active services not in a group
sc query type= service type= interact - Enumerates all interactive services
sc query type= driver group= NDIS     - Enumerates all NDIS drivers 


SCANDISK

Check a disk for errors and repair. More.


SEND

See NET.


SESSION

See NET.


SET

More.
See more in Parameters


SETLOCAL

Begins localization of environment changes in a batch file.


SETVER

Set the DOS version reported to a program.


SHARE

See NET.


SHELL

Specify which COMMAND.COM file to use


SHIFT

Changes the position of replaceble parameters in a batch file. More. Shifts the position of replaceable parameters in batch files.


SMARTDRV and SMARTDRV.EXE

Allows disk space to be used for virtual memory


SORT

SORT < textfile.txt > sortedfile.txt
Let's assume that "textfile.txt" is a list of items that are not in any order. Running it through the SORT filter will produce a file in alphabetical order.
More on SORT and redirection. SORT is a filter.


STACKS

Specifies the size and number of stacks used for hardware interupts. config.sys


START

Open a process or command in a new DOS window. Exampe: "START CMD" would open DOS in a second window. Starts a separate window to run a specified program or command. Also see NET.


STATISTICS

See NET.


STOP

See NET.


SUBMENU

Set in config.sys.
More.


SUBST

Associate a path with a drive letter.


SWAPDISK

A way of extending limited PC resources. SWAPDISK=drive location would designate space to be used to swap applications.
More.


SYS

Place system files on a disk. More.

---T---


TELNET

Windows terminal emulator. For connecting to remote hosts with varying operating systems. More.


TIME

Show the system time and alows you to change it. Type with no parameters to change the time, enter TIME/t to show the time without propmting the change. You may also enter TIME followed by a new time, but it must be the full time including seconds, mircoseconds and am or pm. Example: TIME 12:30:00.00 PM. More. Also see NET Displays or sets the system time.


TITLE

Changes the title of the command window.
TITLE HELLO changes the window title to "HELLO." Sets the window title for a CMD.EXE session.


TRACERT

Trace a network path. Graphically displays the directory structure of a drive or path. More.


TREE

Displays a graphic direcotry map. More.


TYPE

TYPE is a program that will show the contents of a file without opening it for editing. Try entering TYPE MYFILE.DOC. More.

---U---


UNDELETE

Restore deleted files. When you DEL on a file, it does not actually delete the file but rests the disk area occupied by the file to be reused. UNDELETE Does not seem to be present in many versions of NT.


UNFORMAT

More.


UNINST

Windows uninstall from command line, for removing registered programs. Found in C:\windows or C:\WINNT. Programs often come with a custom version of UNINST.EXE.
C:\WINNT\UNINST.EXE -f some application
There are switches, but different versions have different options and /? will not always yeild a help file. For example NSUninst and IEUninst are used specifically for removing IE or Netscape. Applications will often have an .isu file that holds the application information and this is the usual target of UNINST. Example:
C:\WINDOWS\uninst.exe -fC:\ACROBAT3\READER\DEISL1.ISU
If an application has its own uninstall program it is better to use that. More: 1, 2, 3, 4.


USE

See NET


USER

See NET.

---V---


VER

This program will reveal what version of DOS you are using. Type VER. Displays the Windows NT version.



VERIFY

If turned on, reports whether or not files were saved correctly. VERIFY is usually off. Type VERIFY to see if it is on or off. VERIFY ON or OFF to change the setting. Tells Windows NT whether to verify that your files are written correctly to a disk.


VIEW

See NET


VOL

Shows the volume name of a drive or disk. Type VOL C: or VOL A: if you have a disk in the floppy drive. Displays a disk volume label and serial number.



VSAFE

Virus protection software.

---W---


WIN

Laucnhed Windows from older DOS systems. Was run manually at first, then the command was in the AUTOEXEC.BAT. Some DOS users were annoyed at the forced start-up of Windows and removed the WIN command form the AUTOEXEC.BAT. I have noticed that in some versions of NT the WIN command does not generate an error but also does not do anything.


WINIPCONFIG

Shows and modifies IP configuration. This is not supported in NT/ME/XP/2000, use IPCONFIG. Typical Microsoft annoyance, there is no warning or support if you type winipconfig in WINNT, it should direct you ipconfig.

---X---


XCOPY

Extends the COPY command. Copies files and directory trees. More.

---Y---

---Z---


Not here? Try this site: NT Command Reference