First, the batch file is a text file, and each line of this file is a DOS command (most of the time it is like the command line we execute at the DOS prompt ), you can use any text file editing tool such as Edit in DOS or notepad in Windows to
First, the batch file is a text file, and each line of the file is a DOS command (most of the time like the command line we execute at the DOS prompt), you can use the DOS edit or Windows Notepad (Notepad) Any text file Editing tool creates and
Typical advanced DOS batch processing applications:
Windows Programming
Files with the extension BAT (or CMD in NT/2000/XP/2003) are batch files.
First, the batch processing file is a text file. Each line of this file is a DOS command (most of the
First, the MSCDEX syntax and parameters:The MSCDEX can be loaded automatically in the Autoexec.bat file, or it can be loaded on a DOS command line but with an optical drive, provided the driver for the optical drive is loaded into the Config.sys
This article mainly introduced DOS commonly used several commands and the example usage, relatively simple, is suitable for the novice study
Common DOS commands and syntaxThe CD changes the current directory,Dir lists the file and folder
The format of the DIR command:
dir [D:][path][name][[/a][:attrib]][/o:[sorted][/s][/b][/l][/c[h]
(1) Dir/a:attrib default contains all files (System files. hidden files)
Attrib[:][h/-h] Displays only hidden or not suppressed files.
[R/-r]
Interactive interface Design
Nothing to say, look at the Master Design Menu interface bar:
@echo off
CLS
title Ultimate Multipurpose Repair
: Menu
cls
color 0A
echo.
echo ==============================
echo Please select the
There are three executable files in DOS, respectively exe,com and bat (the current page supports the cmd extension). Among them, exe and COM file are binary form, only bat file is text form, can read directly. As a result, the bat file is much
There are three executable files in DOS, respectively exe,com and bat (the current page supports the cmd extension). Among them, exe and COM file are binary form, only bat file is text form, can read directly. As a result, the bat file is much
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:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.