Escolar Documentos
Profissional Documentos
Cultura Documentos
Versions of DOS
1) DOS Ver 1.0
2) DOS ver 2.0
3) DOS ver 3.0
4) DOS ver 4.0
5) DOS ver 5.0
6) DOS ver 5.1.26
DOS COMMANDS:
Commands -->giving instructions
2 types
1)Internal commands
2) External Commands
COPY
Copies a file. Name of copy may be the same as original, or diff
erent.
Syntax: COPY [d:][path][name.ext] [d:][path][name.ext]
Optional switches:
/v Verify, copies the file and compares it with the
original
/b Binary file
TYPE
A:\>TYPE MY.LET
DEL
A:\>DEL A:\MY.LET
A:\>DEL *.*
REN
Renames a
file.
Syntax:
REN [d:][path][name.ext] [d:][path][newname.ext]
To
change the name of the file D:\LET\ANNUAL\99.DOC to 1999.DOC
MD
Syntax: MD [d:][path][dirname]
D:\>MD HERMIT (f
rom D:\)
C:\>MD D:\HERMIT
(from C:\)
RD
Syntax: RD [d:][path]
[dirname]
To remove the HER
MIT sub-directory
D:\>RD HE
RMIT (from D:\)
C
:\>RD D:\HERMIT (from C:\)
CD
Syntax: CD [path][dirname]
D:\DATA\SOURCE>CD ..
(from D:\DATA\SOURCE)
PATH
The PATH command is used to
help the command interpreter find
command interpretter
looks into the
Syntax: PATH=[
path;path;...]
To set the
DOS PATH:
PAT
H=C:\DOS;C:\PCW;\C:\BIN
PATH
SET PROMPT
SET PROMPT=$P$G
To redefine F9 to CD\W
indows\Start Menu\Programs\Startup
SET PROMPT $e[
0,67;"'CD\Windows\Start Menu\Programs\Startup'";13p