Tag:Batch processing

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


    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


    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


    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


    @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


    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


    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


    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


             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


    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


    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 -n 1 -w 2000 >nul  cls

  • Thinking and supplementary explanation of a “supernatural” batch processing


    The requirement of batch processing is: the number displayed randomly is (6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17) as one of them Note: there is no 13 in it In the following two codes, the first one is wrong and the second one is successful, but the only difference is that […]

  • Batch hide their own window, very boring


    Copy codeThe code is as follows: @echo oFF ::code by LZ-MyST QQ:8450919 BLOG:http://hi.baidu.com/lzmyst http://www.clxp.net.cn if “%1” neq “1” ( >”%temp%\tmp.vbs” echo set WshShell = WScript.CreateObject^(^”WScript.Shell^”^) >>”%temp%\tmp.vbs” echo WshShell.Run chr^(34^) ^& %0 ^& chr^(34^) ^& ^” 1^”,0 start /d “%temp%” tmp.vbs exit ) : from here on, it’s your batch code. The DOS black box flashes […]