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,
As dos, it should be said that it is the only way for new users to go without talking about network security or system operations.
Recently, a friend strongly urged me to write a DOS tutorial. If you want to write a DOS tutorial, you have nothing
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
Config. sys is an important file in the dossystem. Its Configuration directly affects the usage and efficiency of the system. If improperly configured, many programs may fail to run normally. Therefore, it is necessary and important to correctly
Copy codeThe Code is as follows: @ echo off
@ Edit and test the title string (the arrows → ← described below indicate the right and left respectively)
Set aa = 1234567890
Echo Description: In the composite variables below, the number before the
Copy code code as follows:
@echo off
@title the edit test for the string (described below with the arrow →← meaning right and left respectively)
Set aa=1234567890
Echo Description: The following compound variable, the number
This article is based on:
Http://www.jb51.net/article/30527.htm
In dos, we can get the current date through the dynamic variable date, and get the current date through the dynamic variable % time %.
Instance 1
C: \ Users \ hubin5> echo % date % 2013
1. System HelpC:\>date/?
Displays or sets the date.
Date [/T | date]
Just type Date without arguments, you can display the current date setting, and prompt
You enter a new date. Press ENTER to keep the original date.
If the command extension is
Three methods for formatting date strings in DOS batch processing
In Linux, a simple sentence is: date '+ % Y % m % d-% H % M % s' to get the output you want: 20120331-064219 but in windows, it still takes some effort to get this.
It is annoying to
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
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.