Internal Commands - II



MD:
This is the Command which lists the user to create a new directory.
Syntax : MD [\Directory name] [\Directory name]
Ex: A:> MD Shankar


CD:
The 'Change Directory' Command is used to change from one directory to another directory.
Syntax: CD [\Directory Name] [\Directory Name]
Ex : CD\MYHOME\MYCOMPUTER


RD
:
The 'Remove Directory' Command is used to remove a sub-directory from a particular directory.
Syntax: RD [\Directory name]
Ex: A:> RD MYHOUSE

NOTE: A directory can not be remove directly first at all the existing files in that directory should be deleted then only the main directory can be removed.


TYPE:
This Command displays the contents of the specified file on the Screen.
Syntax :TYPE < file name extension>
EX: A:\> TYPE YOURNAME


COPY:
This Command is helpful for copying the contents of one file to another file, a path should be specified copying and it is possible to copy the contents of one drive to another drive.
Syntax  : Copy [ < Source file> < Target file> ]
Ex : A:\> Copy sourcename targetname


PATH :
This Command is used to set the path for a Command Search.
Syntax : PATH [Drive :\Path; Drive :\P]
Ex: C:\> DOS path: A:\


DEL:
This Command is used to delete the contests of a specified file
Syntax : DEL [ < File name.Exe> ]
Ex : A:\> DEL NAME


REN :
It is a command which is used to change the name of an existing file name with a new file name. Syntax : REN [ < Old File> <New File> ]
Ex: A:\> Ren Old file new file
A:\> Ren oldname newname


0 comments:

Post a Comment

Recommended Articles

100 GB Free Backup

 
Contact Form