Copy Code code as follows:
@echo off
Setlocal enabledelayedexpansion
Set file=
set/p file= Please enter the file name (including extension) to be manipulated:
Set "File=%file:" =% "
For%%i in ('%file% ') do set File=%%~fi
Echo.
Set
Article structure
1. Help information for all built-in commands
2. The concept of environmental variables
3. Built-in special symbols (the actual use of the center of attention to avoid)
4. Simple batch processing document concept
5. Annex 1 Tmp.txt
Function:
1. Prohibit running the specified program
2. Lifting the prohibition of the designation of procedures
3. View all prohibited Programs
Copy Code code as follows:
@echo off
MODE Con cols=40 lines=18
Title prohibits and unlocks
First install a msql server on server "Server" and set it to run as a service, and change the root password to KKK. Specific reading.Establish a database, such as: Mygame, create a table: GameField: ID, data type int, autonumber, index, PRIMARY
Requirements:
1, can not change the order of a.txt content
2, the current directory of all JPG files in the form of serial number renamed as: from 1-16
3, if there are 16 files, must be renamed to 1-16, not allowed to appear after 16 ordinal
A.txt
If you want to create a folder with spaces or ampersand, you need to enclose the folder name in quotation marks, such as MD "Test ABC", MD "ABC&XYZ". What would be the consequences if you didn't use quotes?
The results of the test are:
1. If the
In Mybat, the program is written with bat code, basically have cmd place can use
You can build the bat to run the EXE in the background
I'll tell you how to use it.
Control end:
is used to control the controlled-end batch process, requiring
Sample1:
Fomat.bat
@echo off
If "%1" = = "A" format a:
: Format
@format A:
@echo Please insert another disk to driver A,then Press any key.
@pause
@goto Fomat
This example is used to continuously format several floppy disks, so use the time to
This is a little trick to take the steps of manually removing cookies.
The first step: Create a new text file on the desktop for "one Step Clear cookies.txt", change the extension to bat, or "step clear cookies.bat".
Step Two: Right click on the
Win7 install MySQL specific process, my version is 5.5.21 The following are my installation steps:
1, first click MySQL5.5.21 installation file, the Database Installation Wizard interface, click "Next" continue to install, as shown in the figure:
Write batch code for more than a year, I have accumulated some useful batch code writing skills, now sent to share. If you can use the code, it will greatly simplify your coding efforts, and to some extent, improve the efficiency of the execution of
To optimize the query, avoid full table scans as much as possible, and first consider indexing the where and the columns involved.
You should try to avoid null values in the WHERE clause, or it will cause the engine to discard the index for full
The operation is as follows:
1, we first write a batch fileReference content
Copy Code code as follows:
At 4:10 Shutdown-r-F
is to use the server to perform a reboot at 4:10. Save the above file as a Rebot.bat file
2, in the
Group BY is a grouped query, and general group by is used in conjunction with aggregate functions, you can think about
You used group BY press ITEM. Itemnum This field is grouped, the other field content is different, become a one-to-many and
I also started learning python from 0, but just processed the data, it is necessary to use a database to store data, so have to put the MySQL database well, because the actual lab machine operation, machine Environment restrictions (installed mysql5.
-Week Study Summary
1. Tables are defined as data types that are inconsistent with data types when we insert data
2. Note the difference in the use of join and left join.
3.group by principle: In all columns following the SELECT, columns that do
If you don't specifically record the installation date (which most people wouldn't do), is there a way to query from SQL Server? Think about the installation, we will certainly have the Windows Authentication login account creation information, we
Today I found this conclusion to be wrong. But for the sake of understanding, I still do not recommend that when you are unfamiliar with SQL statements, the constraints in the inside with the outside constraints confused. In terms of readability, it
ICINGA2 generating availability monitoring via the check_ping.pl plugin:Https://exchange.nagios.org/directory/Plugins/Network-Protocols/ICMP/check_ping-2Epl/detailsTo modify a script:# VI check_ping.pl (the last 2 lines change to the following)My
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service