Tag:Batch processing

  • Automatically run batch bat files as administrator (VBS and bat)

    Time:2021-9-24

    However, the batch script will not be run as an administrator by default. Generally, I will name the script “XXXXXX (please right-click and run as an administrator!). Bat”, but some users will ignore this prompt and run directly. At this time, the script fails due to insufficient permissions. We can use an alternative method. When […]

  • Basketball flying man popular version realized by batch processing

    Time:2021-9-9

    The citation code is easy to deform. A download address is given to ensure that it can be viewed.http://xiazai.jb51.net/200905/other/bat_lanqiu.bat

  • Realizing the immune function of auto.exe with batch processing

    Time:2021-6-25

    Realizing the immune function of auto.exe with batch processingSince yesterday afternoon, the system has been a bit abnormal. It is estimated that it has won the advertisement plug-in. It will be shut down immediately after running with 360 security guard,If you use the malware cleaning assistant, you can’t clean it completely. If you enter the […]

  • Server applications automatically restart IIS batch processing

    Time:2021-6-24

    I don’t know why, the website always hang up after running for a period of time, restart IIS and return to normal.Even if this happens once or twice, it’s hateful that it happens every day. You can’t fight IIS every day.If you want to be lazy, you have to use your brain to find batch […]

  • Batch processing of ARP virus to prevent ARP virus

    Time:2021-6-21

    Copy codeThe code is as follows: @echo off     ::::::::::::::::::::::::::::::::::::::::::::::::::::     :   Native and gateway IP and MAC address binding batch program::     ::::::::::::::::::::::::::::::::::::::::::::::::::::     arp -d   : read MAC address     if exist ipconfig.txt del ipconfig.txt     ipconfig /all >ipconfig.txt     if exist phyaddr.txt del phyaddr.txt     find “Physical Address” ipconfig.txt >phyaddr.txt     for /f “skip=2 tokens=12” %%M in (phyaddr.txt) do set Mac=%%M   Read local IP address     if exist IPAddr.txt del IPaddr.txt     find “IP Address” ipconfig.txt >IPAddr.txt     for /f “skip=2 tokens=15” %%I in (IPAddr.txt) do set IP=%%I   Binding local IP address and MAC address     arp -s %IP% %Mac%   Read gateway address     if exist GateIP.txt del GateIP.txt     find “Default Gateway” ipconfig.txt >GateIP.txt     for /f “skip=2 tokens=13” %%G in (GateIP.txt) do set GateIP=%%G   :::::: get the […]

  • The code of batch setting Windows Server Page 1 / 3 of thesafe 1.9.4

    Time:2021-6-16

    @Echo Off TITLE    Advanced security setter for intranet server :start CLS COLOR 1f Rem   Use the color command to change the console output colorMODE con: COLS=32 LINES=21 Rem   The mode statement sets the width and height of the formSet tm1=%time:~0,2% Set tm2=%time:~3,2% Set tm3=%time:~6,2% Echo  % date%  % TM1% points% TM2% minutes% TM3% seconds  Echo ================================ Echo   Please select the […]

  • Server common batch code original

    Time:2021-6-15

    Save the following content as sqlreboot.bat, and then add it to the scheduled task to restart the SQL server after a period of time, so as to prevent the SQL server from occupying too much memory, resulting in the web page unable to open data. Copy codeThe code is as follows: net stop sqlserveragent  net stop mssqlserver  echo.wscript.sleep(50000)>s.vbs  cscript //nologo s.vbs  […]

  • Batch delete empty folder

    Time:2021-6-10

    Implementation code: Copy codeThe code is as follows: @echo off For / F “tokens = *”%% a in (‘dir / B / AD / s “target folder” ^| sort / R ‘) do Rd “%% a” 2 > nulpause goto :eof @echo off for /f “delims=” %%i in (‘dir /ad /b /s’) do call :rd_dir_empty […]

  • Bat encryption tool encrybat non compiled bat batch encryption scheme and code

    Time:2021-6-9

    Bat file is easy to use, but its security is too fragileAnyone can open it to view, or even modify its contentsIs there any way not to convert. Bat to. Exe or. Com, or. Bat fileBut others can’t view and modify the content???Is there any self encryption or something?Master, give me a solutionThe options currently […]

  • SendTo enhanced batch utility

    Time:2021-6-8

             This is a small software that I use batch processing to make. The knowledge points involved include the query and addition of the registry, the addition of environment variables, the dynamic display of selection prompt, and how to use the configuration file in batch processing, etc. Due to more functions, although I have done […]

  • DNS batch overflow batch code

    Time:2021-6-7

    Copy codeThe code is as follows: @shift 1  @ setlocal  @ cls  @ color A  @   title   DNS batch overflow personal version  @echo ================================================================================  @echo   DNS batch overflow personal version  @echo BY Amxking  @echo   1. Enter the IP segment you want to overflow   Format: xxx.xxx.xxx.xxx   XXX.XXX.XXX.XXX   @echo=================================================================================  @   set  / p   Input = 1. Enter […]

  • Modify the batch code of the system user name

    Time:2021-6-6

    Copy codeThe code is as follows: @echo off echo. Echo. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~echo. net user echo. set  / p   User = please enter the user name you want to change:set  / p   Newuser = please enter a new name  :wmic useraccount where name=’%user%’ call Rename %newuser% echo. echo. echo   Change complete   !!!!!     Two seconds later   sign outping 127.255.255.255 -n 1 -w 2000 >nul  cls