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
Mem View
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]
The environment is the variable storage area of the DOS system. It is stored in Ram and is the place where the DOS system stores important information for batch processing files. You can modify or modify the information as needed. Many dos reference
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
Let's first introduce the concept of wildcard characters.
Wildcard * and?
* Represents a String
? Represents only one character
Note Wildcard characters can only be wildcard file names or extensions, and cannot be all represented. For example,
DOS basics for hackers
Net use $ "> \ IP \ IPC $" "/User:" "Create an empty IPC Link
Net use $ "> \ IP \ IPC $" password "/User:" username "Create an IPC non-empty Link
Net use H: $ ">\\ IP \ C $" password "/User:" User Name "directly logs
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
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 author's platform in "do-it-Yourself" is Virtual PC 5.0, which he uses as a development platform, but unfortunately VIRTUALPC was mirosoft after the launch of the 5.2 version, and then played Microsoft's overbearing, Let VPC only support Windows.
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.