1
Most Commonly Used MS-DOS Commands
CD changes the current directory, or displays the current directory name.
Examples
cd\ goes to the highest level the root of the drive.
cd.. goes back one directory. For example if you are within the
C:\directory1\directory2> directory this would take you to C:\directory1>
cd Example If present would take you into the “Example” directory.
DIR displays the contents of the current directory.
Examples
dir lists all the files and directories for the current drive
dir/p lists all the files one page at a time
dir/w a wide listing of files for the current drive (doesn’t display date/time)
COPY copies the files specified to the specified destination directory.
Examples
copy blossom.blu a: copy a file named BLOSSOM.BLU from the current drive, to
the disk in drive A
copy *.* a: copy all the files in the directory currently in to the floppy disk
in drive A
copy file.doc c:\folder copy a file named FILE.DOC from the current drive, to the
FOLDER directory in drive C
DEL deletes the filenames you specify.
Examples
del oldnews.doc delete a file named OLDNEWS.DOC on the current drive
del c:\folder\*.* delete all files in the c:\folder directory
EDIT allows a user to view, create and or modify their computer files. To start the
Editor and load a file into memory, type edit followed by the name of the file
you want to edit.
Examples
edit c:\autoexec.bat Loads AUTOEXEC.BAT from the hard disk and allows the user
to view and modify it.
edit newfile.txt creates a new file named NEWFILE.TXT. This would bring up a
blank edit screen.
MOVE moves files or directories from one folder to another or from one drive to
another.
Examples
move c:\folderName\*.* c:\temp moves all the files of FOLDERNAME directory to
the TEMP directory
2
REN renames the file or directory you specify.
Examples
ren a:letters.doc numbers.num renames a file on the disk in drive A, changing its
name from LETTERS.DOC to NUMBERS.NUM
ren *.txt *.bak renames all text files to files with .bak extension
DELTREE deletes a directory and all the subdirectories and files in it.
Examples
deltree c:\myfiles Deletes the MYFILES directory and everything in it
CLS clears the screen, leaving the cursor at the top.
Examples
cls clears the screen
FORMAT erases all of the information off of a computer diskette or fixed drive.
Examples
format a: Erases all the contents of a disk.
MD creates a new directory with the name you specify. You can also use
MKDIR to create a new directory
Examples
md direcName creates a new directory named DIRECNAME
RD removes (deletes) the specified directory. You can also use RMDIR to
remove a directory
Examples
rd direcName removes the DIRECNAME directory
DISKCOPY copies the contents of one floppy disk to another.
Examples
diskcopy a: makes a copy of the disk that is currently in your drive
ETG Solutions
The good news is that the benefits of transformation can start to be delivered straight away. Intellectual property belongs to EnjoyTGd, matter belongs to God.
Trabsformations take time.People think you can bring in a tech transformation coach,change everyboard's job tittle and get them on a quick sheep dip of a certified scrum team member.But in organizations,transformation happens incrementally. The goal is to find a way of producing the software that’s needed at an affordable cost with high enough quality that it stays useful over time. This is where
MS-DOS Commands
Disk Commands
FORMAT:
Prepares a disk so that MS-DOS can use it. Formatting a disk erases all
the information on the disk, so be careful. Example: FORMAT A:
CHKDSK:
Checks for problems and repairs corrupted disks. A disk can sometimes get
corrupted when, for example, the power is turned off while a program is still
running. Example: CHKDSK C:
DISKCOPY:
Duplicates diskettes. Use this command to copy important diskettes, like newly
purchased programs. Example: DISKCOPY A: B:
Directory Manipulation Commands
MKDIR (MD):
Makes a directory on the disk. Example: MD C:\DOS
RMDIR (RD):
Removes empty directories from the disk. Example: RD C:\DOS
CHDIR (CD):
Changes the current working directory. Example: CD C:\DOS
PATH:
Provides a list of directories where MS-DOS can find programs. Put this in your
AUTOEXEC.BAT file. Example: PATH C:\;C:\DOS
File Copying & Backup Commands
COPY:
Copies files between disks or directories. Example: COPY C:\AUTOEXEC.BAT
A:
XCOPY:
Copies files, or entire directories with their subdirectories, to other disks or
directories. Example: XCOPY C:\DOS C:\OLD_DOS /S
BACKUP:
Copies entire hard disks onto many floppy diskettes to create a backup copy of the
hard disk. Example: BACKUP C:\*.* A: /S /F
RESTORE:
Restores the BACKUP files back onto your hard disk. Example: RESTORE A:
C:\*.*
File Management Commands
DIR:
Lists the files in a directory or disk. It includes file and directory names, file sizes,
and file creation dates. Example: DIR C:\
TYPE:
Displays the contents of a file on your computer screen. Example: TYPE
C:\CONFIG.SYS
ERASE (DEL):
Deletes files from the disk. Example: DEL C:\JUNK.TXT
RENAME (REN):
Changes the name of a file. Example: REN TEMPLATE.WP REPORT.WP
Other Commands
PROMPT:
Changes the MS-DOS command prompt from C> to whatever you wish. Use the
command PROMPT $P$G, to display your current working directory in the
prompt.
DATE:
Displays and changes the current date. If your computer does not have a real-time
clock installed, put the DATE command in your AUTOEXEC.BAT file.
Example: DATE
TIME:
Displays and changes the current time. If your computer does not have a real-time
clock installed, put the TIME command in your AUTOEXEC.BAT file. Example:
TIME
MODE:
Changes various settings for the screen, serial ports, and printer ports. Example:
MODE CO40
EDIT:
A text editor used to modify files like AUTOEXEC.BAT and CONFIG.SYS. You
can also use word processors like WordPerfect. However, make sure you store the
file in TEXT mode, not in the word processor's native binary mode. Failure to do
this could seriously incapacitate MS-DOS. Make backup copies of system files
before editing them. Example: EDIT C:\AUTOEXEC.BAT
An MS-DOS Glossary
Below are a few common MS-DOS terms and their definitions. Your MS-DOS manuals
have more information.
Disks:
The part of the computer that stores your data and programs while the computer is
turned off. There are two types: Floppy Diskettes and Hard Disks. If you do not
save your work to a disk before turning off your computer, all that work is lost.
Hard Disk:
Sometimes called a Fixed-Disk because it is installed inside the computer. Hard
disks are much faster than floppy diskettes, and can hold much more information.
Floppy Diskette:
A disk that can be removed from the computer's disk drives. Floppy Diskettes are
slower than Hard Disks, and contain less information. Their advantage is that they
can be moved from one computer to another, while Hard Disks cannot.
Floppy Diskettes come in two sizes: 5 1/4", and 3 1/2". Each of these sizes also
come in two formats, High Density (HD) and Medium (or Double) Density (MD).
It is very important to use the correct floppy diskette size and density for your
computer.
File:
Information stored on a disk. For example, a word processing program, the
documents it creates, and its spelling dictionary are all stored as separate files on
your computer disks.
Directory:
A way to group similar files on your disk. For example, you would create a
directory to store all your word-processing documents, another directory for your
spreadsheet files, etc. You control the organization of this computer filing system.
A directory that is inside another directory is called a subdirectory.
AUTOEXEC.BAT:
A file containing instructions which are run whenever the computer is turned on.
This saves you from having to type the same commands (PATH, DATE, TIME,
PROMPT, MODE, etc.) every time you start the computer.
CONFIG.SYS:
The MS-DOS configuration file. The CONFIG.SYS file can be customized for
the hardware available in your computer. Some programs may also need some
specific CONFIG.SYS settings.
Internal MS-DOS Command
ATTRIB- Attrib allows a user to change the
properties of a specified file. Using attrib the
user has the capability of changing the file to
be.
BREAK- Break can be used to enabled or
disable the breaking capability of the
computer.
CD-CD (Change Directory) is a command
used to switch directories in MS-DOS.
CHDIR-Chdir (Change Directory) is a
command used to switch directories in MSDOS.
CLS-Cls is a command which allows the
user to clear the complete contents of the
screen and leave only a prompt.
COMMAND-Without command.com the
computer running a Microsoft Operating
System would be unable to boot.
COPY-Allows the user to copy one file
from one source to another.
CTTY-Ctty is a MS-DOS utility that allows
you to change the standard computer
input/output device.
DATE-Date can be used to look at the
current date the machine is set to as well as
changed if new date is entered.
DEBUG - Debug is a method of looking at
portions of your computer and writing
assembly code to perform certain tasks on
your computer.
DEL-Del which is short for delete and is a
command used to delete files permanently
from the computer.
DIR-The dir command allows you to see the
available files in the current and or parent
directories.
DISKCOPY-The diskcopy utility allows a
user to copy the complete contents of a
diskette to another diskette.
DOSSHELL-Dosshell is an application
which allows the user to use a partial GUI
which gives the user a friendlier version of
MS-DOS.
DRIVPARM- allows the default or original
device driver settings to be overridden when
DOS is started.
ECHO- Echo is used to repeat the text typed
in back to the screen and or can be used to
echo to a peripheral on the computer such as
a COM port.
ERASE- Erase is a command used to
remove files from your computers hard disk
drive and or other writeable media.
EXIT- The exit command is used to
withdrawal from the currently running
application.
FASTHELP- instant access to all of the
MS-DOS commands, giving you a brief on
each command, may not work in some
versions of MS-DOS.
FC- FC or file compare is used to compare
two files against each other. Once completed
FC will return lines which differ between
the two files. If no lines differ you will
receive a message indicating no differences
encountered.
KEYB- Keyb is used to change the layout of
the keyboard used for different countries.
Reference: computerhope
Copyright: Janak Patel 7/20/2001
LABEL - Label is used to label the
computer
LH-Used to load programs in to High
memory to free up your conventional
memory, this is used in your autoexec.bat
file
LOCK/UNLOCK - Lock allows a user to
lock a drive, enabling direct disk access for
an application. Unlock allows a users to
unlock a drive, disabling direct disk access
for an application
MD- Allows you to create your own
directories in DOS.
MEM- Allows you to determine the
available, used and free memory.
MKDIR- Allows you to create your own
directories in DOS.
MODE- Mode status is used to view and or
modify a port or display setting.
MOVE- Allows you to move files or
directories from one folder to another or
from one drive to another.
MSCDEX- CD-ROM "redirector."
PATH- Path is used to specify the location
where DOS looks when using a command.
PAUSE- The pause command is used within
a computer batch file and allows the
computer to pause the currently running
batch file until the user presses any key.
PROMPT- Allows you to change the MSDOS
prompt to display more or less
information.
RD-Removes empty directories in DOS. To
delete directories with files or directories
within them the user must use the deltree
command.
REN / RENAME- Used to rename files and
directories from the original name to a new
name.
RM / RMDIR- Removes empty directories
in DOS. To delete directories with files or
directories within them the user must use the
deltree command.
SET- Allows you to change one variable or
string to another.
SHARE- Installs support for file sharing
and locking capabilities.
SORT- Sorts the input and displays the
output to the screen
SWITCHES- Loaded in the config.sys
switches allows you to add and remove
various functions of MS-DOS.
TIME- Allows the user to view and edit
their time.
TREE- Allows the user to view a listing of
files and folders in an easy to read listing.
TYPE- Allows the user to see the contents
of their file. To edit the files the user would
need to use either edit or copy con.
VER- Displays the version of MS-DOS or if
running Windows 95 or above the version of
Windows.
VERIFY- Enables or disables the feature to
determine if files have been written
properly.
VOL- Displays the volume information
about the designated drive.
50 RUN COMMANDS FOR YOUR PC
I have been busy with my studies , so that i cant concentrate in this blog..i m happy see u all once again.. :)
RUN Commands for computer :
1. Accessibility Controls - access.cpl
2. Accessibility Wizard - accwiz
3. Add Hardware Wizard - hdwwiz.cpl
4. Add/Remove Programs - appwiz.cpl
5. Administrative Tools - control admintools
6. Automatic Updates - wuaucpl.cpl
7. Bluetooth Transfer Wizard - fsquirt
8. Calculator - calc
9. Certificate Manager - certmgr.msc
10. Character Map - charmap
11. Check Disk Utility - chkdsk
12. Clipboard Viewer - clipbrd
13. Command Prompt - cmd
14. Component Services - dcomcnfg
15. Computer Management - compmgmt.msc
16. Control Panel - control
17. Date and Time Properties - timedate.cpl
18. DDE Shares - ddeshare
19. Device Manager - devmgmt.msc
20. Direct X Troubleshooter - dxdiag
21. Disk Cleanup Utility - cleanmgr
22. Disk Defragment - dfrg.msc
23. Disk Management - diskmgmt.msc
24. Disk Partition Manager - diskpart
25. Display Properties - control desktop
26. Display Properties - desk.cpl
27. Dr. Watson System Troubleshooting¬¬ Utility - drwtsn32
28. Driver Verifier Utility - verifier
29. Event Viewer - eventvwr.msc
30. Files and Settings Transfer Tool - migwiz
31. File Signature Verification Tool - sigverif
32. Findfast - findfast.cpl
33. Firefox - firefox
34. Folders Properties - control folders
35. Fonts - control fonts
36. Fonts Folder - fonts
37. Free Cell Card Game - freecell
38. Game Controllers - joy.cpl
39. Group Policy Editor (for xp professional) - gpedit.msc
40. Hearts Card Game - mshearts
41. Help and Support - helpctr
42. HyperTerminal - hypertrm
43. Iexpress Wizard - iexpress
44. Indexing Service - ciadv.msc
45. Internet Connection Wizard - icwconn1
46. Internet Explorer - iexplore
47. Internet Properties - inetcpl.cpl
48. Keyboard Properties - control keyboard
49. Local Security Settings - secpol.msc
Click here to claim your Sponsored Listing.
