by preethi dos internal commands. internal commands dos commands that are present in the...

Click here to load reader

Upload: marilynn-holt

Post on 04-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

DOS INTERNAL COMMANDS

BYPREETHIDOS INTERNAL COMMANDSINTERNAL COMMANDSDOS commands that are present in the COMMAND.COM file and are automatically loaded into RAM when the PC is booted are called internal commands.

Some of the internal commands are include dir, echo, ver etcDIRECHOVERTYPECOPYCOPY CONRENAME or RENDATEMKDIR or MDDELPROMPTTIMECHDIR or CDRMDIR or RDVOLPATHINTERNAL COMMANDSDIR-It is used to view the list of files and directories.Syntax- C:\> dir

VER-To view the Version of the current Operating System.Syntax - C:\> Ver

TYPE-To View the contents of existing files. Syntax - C:\> Type [Existing file Name]

COPY-Used to copy the files Syntax - C:\> copy INTERNAL COMMANDSCOPY CONUsed to Create a new file.Syntax - C:\> Copy con

REN-Used to rename then file.Syntax - C:\> Ren

DATE-Used to view and change the system Date.Syntax - C:\> Date

MD-Used to create a New Directory.Syntax - C:\> Md

DEL -Used to Delete the FilesSyntax - C:\> Del INTERNAL COMMANDSTIME-Used to view and change the System time. Syntax - C:\> TimeCD-Used to change the Directory Syntax - C:\> Cd

RD-Used to Delete the Directory Syntax - C:\> Rd

VOL-Used to view the System Volume informationSyntax - C:\> Vol

Syntax - C:\> Path PATH-Used to set the file pathExternal CommandsDOS commands that are not present in the COMMAND.COM file but are present in other files having the extensions COM, EXE or BAT are called external commandsEDIT ATTRIB CHKDSK DELTREE FDISK FORMAT MEM MORE XCOPY External CommandsEDIT-Used to edit the file contents.Syntax C:\>edit ATTRIB -Used to set/change the file Permission Syntax C:\>attrib

CHKDSK-Used to check the integrity of the disk Syntax C:\> Chkdsk

DELTREE-Used to delete the Directory including of files and sub directories. Syntax C:\>deltree FDISK-Used to create, delete, view the Hard disk partition. Syntax C:\>fdisk External CommandsFORMAT-Used to format the Hard disk Partitions Syntax C:\> format /optionOption:/s System file/q Quick Format/u Unconditional Format

MEM-Used to check the system memory status Syntax C:\>mem

MORE -To view the list of files and directories in line by line.Syntax - C:\> dir|more

XCOPY -Used to copy the directories including files and subdirectories. Syntax C:\>xcopy /s