Welcome to Helpdesk
Phone: 330-672-HELP - Email: helpdesk@kent.edu - Web: http://helpdesk.kent.edu
  Helpdesk Home
Text-Only Helpdesk
Search the Helpdesk

Computer
  Recommendations

Contact Us
Downloads
ERP Implementation
    Banner
    Cognos
    Workflow
    Self-service
Exchange
    Training
    Outlook Web Access
Faculty Refresh
Flashline
FlashMail
FlashWord
Flashzone
Forms
Getting Started
How to's
Internet Access
Knowledge Bases
KSU VPN
KSU Links
Labs on campus
Library Information
Listserv
Macintosh
Microsoft Software
PASS FAQ
Phone Directory
Proxy
Services
    Helpdesk
    Information Services
Security
Software
Spam
Supported Software
Training
WebCT
Web Page Information
Web For Faculty
Web For Students

MS-DOS Commands

Use MS-DOS Commands
The following is a list of MS-DOS commands

HELP (external)
Provides online information about the MS-DOS version 5.0 and 6.0 commands. To display the table of contents, type HELP at the command prompt and press <Enter>. To display help about a particular command, type HELP followed by the command.
HELP command
CD (internal):
Changes the current subdirectory. CD\ will change directories to the root directory, while CD.. will change directories up one level from the current directory.
CHDIR\[SUBDIRECTORY] or CD\[SUBDIRECTORY]
CHKDSK (external):

Scans a disk and checks it for errors. Switches are optional: /F fixes errors on the disk, /V displays the full path and name of every file on the disk. CHKDSK [DRIVE:][\SUBDIRECTORY][/F][/V]

CLS (internal)
Clears the screen.
CLS

COPY (internal):

Copies one or more files to another location. To copy all files on a disk, enter *.* as the filename in the command.
COPY [SOURCE-DRIVE:FILENAME] [DESTINATION-DRIVE:]


DEL (internal):

Deletes files specified by the drive, directory, and filename.
DEL [DRIVE:][\DIRECTORY]\FILENAME

DIR (internal):

Displays the files in a directory. Switches are optional: /P stops scrolling when the screen has filled--press any key to continue, /W displays the directory in wide mode--using the whole width of the screen.
DIR [DRIVE:][\DIRECTORY][/P][/W]

FORMAT (external):
Formats the disk in the specified drive to accept MS-DOS files. Switches are optional: /4 formats a low density 5-1/4 inch disk in a high density drive, /S copies the operating system files to the disk -- making it a "bootable" disk.
FORMAT DRIVE:[/4][/S]
Label (external):

LABEL (external): Creates, changes, or deletes the volume identification label on a disk. Labels may be up to 11 characters long and may include spaces.
LABEL [DRIVE:][LABEL]

PROMPT (internal):

Changes the MS-DOS command prompt to reflect your working directory of the default drive followed by a >. See your MS-DOS manual for other prompt commands.
PROMPT $P$G

MKDIR (internal):

Creates a directory or subdirectory.
MKDIR [DRIVE:\]SUBDIRECTORY or MD [DRIVE:\]SUBDIRECTORY

PATH (internal):

Displays or sets a search path for executable files. Usually included in the AUTOEXEC.BAT file.
PATH [DRIVE:][;][DRIVE:][;]

Type PATH ; to clear all search-path settings and direct MS-DOS to search only in the current directory. Type PATH without parameters to display the current path.

RENAME (internal):

Changes the name of a file. You may use the * or ? wildcard with the rename command.
RENAME [DRIVE:]OLDNAME NEWNAME

Note that you cannot specify a new drive or path for your destination file.

RMDIR (internal):

Removes a directory from a drive. You must be in a directory at least one level up from the one you wish to remove. You cannot remove a directory that contains files--use the DEL command to remove them.
RMDIR [DRIVE:]DIRECTORY or RD [DRIVE:]DIRECTORY

SYS (external):
Transfers the MS-DOS system files to the disk in the specified drive. This can be used to update your system or to make a formatted disk containing no files a bootable disk.
SYS DRIVE:
TYPE (internal):
Displays the contents of a text file to the screen. You cannot edit files with the type command.
TYPE [DRIVE:\DIRECTORY\]FILENAME
VER (internal):
Displays the MS-DOS version number currently in use.
ALT
Press Alt F to select File and Save or Exit (when editing a file)

 

Link to Kent State University home page. Link to text version. Link to the Kent State University home page