Sunday, December 28, 2014

All Internal Commands of Ms-Dos

 A command that is stored in the system memory and loaded from the command.com. Below are examples of internal commands in MS-DOS and the Windows command line currently listed in the Computer Hope database.

Some internal DOS command

MD:-
Command is used to create a new directory/folder.
  Syntax: c:\>md folder name
Eg,  C:\>md ram

CD:-
Is used to Changes directories.
Syntax:  C:\>cd folder name
Eg, C:\>cd ram

RD:-
Is used to Removes an empty directory.
Syntax: C:\>rd folder name
Eg,  C:\rd ram
REN:-
Rename a file or directory.
Syntax: C:\>ren folder/file name
Eg, C:\>ren ram.doc hari.do
Date:-
This command is used to display current system date. we can also change new date.
Syntax: C:\> date
To change the date type new date.
Time:-
This command is used to display current system time.
Syntax: C:\>time
To change time type new time
Dir:-
This command is used to display files or folder
Syntax: c:\>dir
Copy con:-
This command is used to create new program file(Extension file name)
Some extension file name
Microsoft word = name.doc
Ms power point =    “    .ppt
Photo file =            “     .jpeg, jpg
Sound file =       “     .mps
Photoshop =           “     .psd      etc.

Syntax: C:\>copy con file name
Eg, C:\>copy con ram.doc
Del:-
This command is used to delete files.
Syntax: C:\>del file name
Eg, C:\>del ram.doc
Cls:-
  This command is used to clear for screen.
Eg, C:\>cls

Copy:-
This command is used to copy file.
  Syntax:C:\>copy location the drive
Eg, C:\>copy d:ram

Type:-
This command is used to open file.
Syntax: C:\>type file name
Eg, C:\>type ram.doc
Exit:-
This command is used to exit for dos mode.
Eg, C:\>exit