DISK OPERATING SYSTEM
==============
*DOS means DISK OPERATING SYSTEM.
* DOS is not case sensitive.
*They are two types in dos command
1) Internal dos command
2) External dos command
way to open dos command:
===============
1) start-->run--> cmd (or) command -->ok
2) start--> All programs--> Accessories--> command prompt-->click
Internal dos command:
=============
1) dir
2) cd
3) md
4) rd
5) del
6) label
7) copy con
8) dir /p
9) dir /w
10) pause
11) date
12) time
13) copy
14) cls
15) exit
16) help
17) cd\
18)cd..
1) dir (Directory):
==========
*It is one of the Dos command
*used to view our directory files and folder name.
syntax:
====
c:\> dir (enter)
Eg:
==
c:\> dir (enter)
2) cd (Change Directory or Convert directory):
=========================
*It is one of the Dos command.
* used to change one directory to another directory.
syntax:
====
c:\> cd <directory name> (enter)
Eg:
==
c:\> cd Program Files (enter)
3) md (Make Directory (or) new Directory):
=======================
*It is one of the Dos command.
*Used to create a new folder for our drive colon.
syntax:
=====
C:\> md <new folder name> (enter)
Eg:
==
C:\> md karthi (enter)
4) rd (Remove Directory):
==============
*It is one of the Dos command
*Used to remove a existing folder name for our drive colon.
syntax:
====
c:\> rd <old folder name> (Enter)
Eg:
==
c:\> rd karthi (enter)
5) Del:
====
*It is one of the Dos command
*Used to delete a file
* It can delete only files not for folder or directory.
syntax:
====
c:\> del <file name>.<extension> (enter)
Eg:
==
c:\> del p1.txt (enter)
6) Label:
=====
*It is one of the dos command
* used to set the drive colon name.
syntax:
====
c:\> label (enter)
Volume in drive C: has no label
Volume Serial Number is DC09-5f54
Volume label (Enter For none)? <drive name> (enter)
Eg:
==
c:\> label (enter)
Volume in drive C: has no label
Volume Serial Number is DC09-5f54
Volume label (Enter For none)? songs (enter)
7) copy con:
=======
*It is one of the Dos command
* Used to create a new file base upon the extension name
software name Extension:
========= ======
Mspaint <File name>.bmp
Notepad <File name>.txt
Wordpad <File name>.rtf
Winword <File name>.doc
Excel <File name>.xls
powerpoint Template <File name>.ppt
Powerpoint Slide <File name>.pps
MsAccess <File name>.mdb
C language <File name>.c
C++ language <File name>.cpp
JAVA <File name>.java
HTML <File name>.html
ORACLE <File name>.sql
Visual Basic <File name>.vbp
SPSS <File name>.spss
SQL Server <File name>.sql
VB script <File name>.html
JSP <File name>.jsp
Java script <File name>.js
Photoshop <File name>.pds
Pagemaker <File name>.pmd
Corel draw <File name>.cdr
Flash <File name>.fla
AudioVideoInterchange <File name>.avi
MP3 <File name>.mp3
MPEG <File name>.mpeg
Ordinary videos <File name>.dat
PowerDVD <File name>.vob
Recording sounds <File name>.wav
Cell phone videos <File name>.3gp
Configuration Setting <File name>.ini
Setup Information <File name>.inf
Image files <File name>.iso
Join picture group <File name>.jpg
Join picture Effect group <File name>.jpeg
Ipod songs <File name>.mp4
Zip files (compress) <File name>.zip
Check files <File name>.chk
Help files <File name>.hlp
create Batch command <File name>.bat
8) dir/p (directory page wise)
=================
* It is one of the Dos command
* used to display given folder and files in the selected drive as pagewise
syntax:
=====
C:\>Dir/p
Eg:
==
C:\>dir/p
9) dir/w (directory width wise)
=================
* It is one of the Dos command
* used to display given folder and files in the selected drive as widthwise
syntax:
=====
C:\>Dir/w
Eg:
==
C:\>dir/w
Batch file creating:-
===========
1) How to create the Batch file?
Copy con <file name>.bat
2) How to save the Batch file?
F6 or Ctrl+z
3) How to Run (or) Execute the Batch file?
<file name>.bat
4) How to see the contentof Batch file?
type <file name>.bat
5) How to edit the content of Batch file?
Edit <file name>.bat
Batch file program:
===========
D:\> copy con India.bat
dir
pause
cls
date
time
dir/on/p
dir/Ad/p
^z
1 files copied
D:\> India.bat }It runs the command one by one
D:\> Exit } close the Dos command windows
ads
ads


0 comments