3 pagesPart 1 dos OverviewChapter 2 dos OverviewBefore reading this book, you must first understand what DOS is. This chapter first briefly introduces the DOS Operation SystemAnd briefly introduces the operating system history to explain the
DOS Base Command
CD Change current directory sys make DOS system disk
Copy copy file del Delete file
deltree delete directory tree dir column file name
diskcopy disk Edit Text Edit
Format formatted disk MD to establish subdirectories
Early computer systems usually consist of central processing units (CPUs), memory, peripherals, and so on, and users often monopolize all of the computer's resources. For example, when a computer prints through a printer, other devices are waiting,
Early computer systems were generally composed of CPU, memory, external devices, and other components. Users often exclusive to all computer resources. For example, when a computer prints data through a printer, other devices are waiting. In this
For help documentExecutes a specific command on each file in a set of files.
For%variable in (set) do command [Command-parameters]
%variable specifies a single letter replaceable parameter.
(set) to specify one or a set of files. You can use
A For command is a command that runs in the command line or batch for a series of objects to execute one or more commands cyclically in sequence. Combined with some programs in Windows Management, its processing capabilities are powerful, and its
The format of the DIR command:
(1) Dir/a:attrib default contains all files (System files. hidden files)
Attrib[:][h/-h] Displays only hidden or not suppressed files.
The echo command is a child command of a DOS batch command familiar to you, but some of its features and usage maybe you don't know all about it, you see:
1. Whether to display the command line itself at execution time as a control batch
Converting a DOS batch file to a shell script Quite a few programmers who learn scripts on a PC are running DOS. In fact, the Disabled DOS batch file language can also write some powerful scripts, although they generally need to rely on external
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.