Академический Документы
Профессиональный Документы
Культура Документы
History
MS-DOS 1.0 was released in August 1981, and was
Introduction
File Manipulation
Directory Manipulation
Basic Structure
Most DOS commands use the same structure
Command Source Destination /Switch
The switch will give options to the command
Example COPY A:\file.txt c:\ /v
/v will verify if the file copied correctly
MS-DOS Prompt
The prompt in MS-DOS displays your current
directory
C:\dos\commands> means you are in that directory,
DOS Naming
Characters like * + = | \ [ ] : ; < > , ? /
Wildcard characters
Wildcard character will replace a single letter, or
Basic Commands CD
CD- Change directory
You use this command when you want to change the
directory.
Example: CD C:\DOS will bring you to the dos folder
a:\ to c:\
location to another
Example: MOVE a:\file.txt c:\file.txt will move the
drive
file.txt to myfile.txt
Attributes
Attributes are the properties of a file such as hidden,
PRINT Filename
E.g.
PRINT File1.txt
Syntax :
C:\ PROMPT Promptname
E.g.
PROMPT NCIT
C:\>DATE
E.g. C:\>DATE
F:\>edit test.txt
F:\>edit test.txt
F:\>copy con 123.docx
my name is indika rathninda^Z
1 file(s) copied.
F:\>edit 123.docx
F:\>dir>1234.txt
Batch file