Thank you for your use! Cloud Small Fly production
Echo *******************************************************************************
Pause
The above two pieces of code, respectively, saved to a different bat file, you need to switch when you can double-click to run directly.
In addition, the static ARP binding gateway can also be added to the batch process, which can refer to the specific usage of the ARP command in my another articl
When we run a bat batch file in Windows, we tend to pop up a cmd command Prompt window, and then the CMD window shuts down automatically, and someone says, "Add the echo off command directly to the bat batch file." Okay, yes, echo. Off you can close the cmd window, but the cmd window will initially pop up and disappear, and here's how to completely hide the cmd command Prompt window when you run the
Here are some examples of bat files that I hope will be of some use to you, and modify them as needed.
Delete Default share (do not save as BAT file in Start menu): Net_share_delete.bat, another way to delete the default share
Copy Code code as follows:
NET share ipc$/delete
NET share admin$/delete
NET share C $/delete
NET share d$/delete
NET share e$/delete
...
Log on to t
1. Project selection and Export
2. Select the red circle and click Next
3, the red circle is to choose which Java class you want to run, the black circle is to select the location of the jar package to export
4, packaged jar package has been exported the next and most important part is to write a bat file that causes the bat file to run the jar package file that you just exporte
FTP Server to save backup files, but also do not need to keep the data every day, so in order to consider saving hard disk space, you must delete some old files, as long as the last week or one months to save theWindows has a batch deletion program, called FORFILES,XP, and the bottom of the post can be downloaded.First of all, I use the FTP server to back up data files every day, only want to save the last two weeks of filesWrite a bat file with the f
"Scenario One" deletes a file before the specified number of days in the specified path (whichever is the last modified date of the file): BAT + REG + VBS
Copy Code code as follows:
@echo off
:: Demo: Deletes a file that precedes a specified number of days in the specified path, whichever is the last modified date of the file.
:: If the demo results are correct, remove the echo in front of the Del, and you can realize the real deletion.
Bat automatically decompress and release the asp.net program. bat decompress asp.net.
1. decompress the package
2. Replace the file
3. Stop the service
4. Recreate the virtual directory
5. Restart the service.
@ Echo 1. Zipexe compression assembly path @ echo 2. zipFileName compression file path @ echo 3. ylxt decompression file path @ echo 3. Files not modified in the webconstant release directory. and the
REM file name set DNS name server address Bat batch script file. batREM Use set the DNS name server address for the wireless network connectionnetsh interface ip add DNS "Wireless network connection" 8.8.8.8netsh interface ip add DNS "Wireless network connection" 8.8.4.4netsh interface ip add DNS "Wireless network connection" 1.2.4.8netsh interface ip add DNS "Wireless network connection" 114.114.114.114netsh interface ip add DNS "Wireless network con
"Scheme one" BAT + REG + VBS
Copy Code code as follows:
@echo off
:: Demo: Deletes a folder that precedes the specified number of days in the specified path, whichever is the last modified date of the folder.
:: If the demo results are correct, remove the echo from the front of Rd to achieve the real deletion.
:: This example calls a temporary VBS code for a date calculation
:: This example is compatible with different date formats, c
@echo offMode con:cols=80 lines=25: IndexColor 27ClsEcho╭──────────────╮Echo││Echo╭─────────┤bat Decryption Tool ├─────────╮Echo││││Echo│╰──────────────╯│Echo││Echo││Echo│ This tool is used to decrypt encrypted batches of garbled text encoding types! │Echo││Echo│ fill in the following batch to be decrypted and press ENTER. │Echo││Echo│ recommends that the batch file to be decrypted be dragged directly to this window for release. │Echo││Echo│ decryptio
Article Author: allyesno
When I wrote a little game of bat to guess the numbers, I studied the problem. How to filter the input of any characters in the bat. Several methods used at the time are as follows
Codz:
If "%1" = = "character to filter" echo you entered an illegal character.
Example: If "%1" = = "Wrongpassword" Echo Error password
Set Errorlevel=0
Echo to filter the character |find "to filter the
BAT interview algorithm fine class, straight-through bat interview algorithm fine class.We can first look at the content, video short, to the crux of the problem. Quickly grasp the core knowledge and save time to review.Anyway I'm not fond of procrastinating, lengthy video lessons.Moreover, the scope of knowledge covers a wide range, suitable for looking for work review.The first time I bought a course, I t
Simple Mysql backup BAT script sharing in Windows and mysql backup bat script
Preface
This document describes a simple BAT script for Mysql backup in Windows.MysqldumpCommand to back up a specified Mysql database to a file in the format% Dbname %-yyyyMMddHHmmss. SQLOnly the backups of the last 60 days are retained. If you want to regularly execute the task, add
When installing the PIL module in python, The Unable to find vcvarsall. bat solution is as follows: pilvcvarsall. bat
Many people may have encountered this error. When setup. py is used to install the python2.7 image processing module PIL, python will find the installed vs2008on the computer by default. If vs2008 is not installed, it will appearUnable to find vcvarsall.batError.
How can this problem be solv
document are optional;In Findstr/r, the character set that is specified in the match.?\ \ In findstr/r to match an arbitrary character in this position;? In the path indicates that any character is to be fitted in this position;A help document that immediately follows/after the GET command.!\ \ When the variable delay is enabled, use!! The variable name is expanded to represent a reference to the value of the variable;Represents a logical non in set/a. For example set/a a=!0, at this point A is
Although the BAT file is easy to use, its security is too fragile.
Anyone can open and view or even modify the content.
Is there any handler that fails to convert .batto. .exe or. com, or is still a. BAT file?
But others cannot view and modify the content ???
Is there anything like self-encryption?
Let's give you a solution.
The current solution is as follows:
1. Batch Processing
Code How to insert Unicode
Bat starts the oracle local service, and bat starts the oracle service
Oracle local services are enabled by default, occupying computer resources, affecting the boot speed. It is cumbersome to enable and disable each time. The following is a one-click bat implementation, right-click, and run as administrator.
@ Echo off for/f "skip = 3 tokens = 4" % I in ('SC q
Some time ago, a friend applied for a 163 of the mailbox, but after many training, how to use, how to operate, or did not learn. (an old, too many things, forget it is no wonder), the back of the Internet to find the next, directly to do a. bat format, the mailbox, user, password directly written in, so it is more convenient.
First, create a text file, such as 163.mail.txt, in the TXT file to write the following content, save. Then convert the. txt f
BAT (batch processing) Operation registry method, I know there should be two kinds of1, combined with reg.exe to realize the reading and writing of the Registry2, with the bat output file, and then regedit/s 1.reg such a format to achieve output VBS, etc. are suchecho cmd.exe/k dir c: > C:\windows\system32\1.batREG ADD "Hkcu\software\microsoft\windows\currentversion\run"/V "Test"//"C:\windows\system32\1.
Today, a colleague of the computer desktop has a 0KB hidden file, dead or dead can not delete, delete always prompt: Unable to delete the file, can not read the source file or disk. Is very strange, is poisoned it, I see and not like, antivirus software also can not find out what poison, in order to this thing reload system is not worth, after research, the problem finally can be solved, take to share.
1. Copy the following code into Notepad and save as a.
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.