ads
ads
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
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
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
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
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)?
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
Notepad
Wordpad
Winword
Excel
powerpoint Template
Powerpoint Slide
MsAccess
C language
C++ language
JAVA
HTML
ORACLE
Visual Basic
SPSS
SQL Server
VB script
JSP
Java script
Photoshop
Pagemaker
Corel draw
Flash
AudioVideoInterchange
MP3
MPEG
Ordinary videos
PowerDVD
Recording sounds
Cell phone videos
Configuration Setting
Setup Information
Image files
Join picture group
Join picture Effect group
Ipod songs
Zip files (compress)
Check files
Help files
create Batch command
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
2) How to save the Batch file?
F6 or Ctrl+z
3) How to Run (or) Execute the Batch file?
4) How to see the contentof Batch file?
type
5) How to edit the content of Batch file?
Edit
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 window ads


a good look