Batch processing problem, the master came in to help change it, thank you

Updated on technology 2024-05-24
7 answers
  1. Anonymous users2024-02-11

    The changes are small and can be run.

    echo off

    goto 2

    StartEcho to continue to end the process, press 1

    Echo to play with a different IP, please press 2

    set slection=

    set p slection=Please enter:

    if "%slection%"=="1" goto 1if "%slection%"=="2"Goto 2CLSSET P SLECTION1=Please enter an IP address:

    echo wait a moment, the list of processes for %slection1% is being listed.

    tasklist /s %slection1% /u mm /p mm

    set p slection2=Please enter the process pid:

    taskkill /s %slection1% /u mm /p mm /pid %slection2%

    goto start

    pause>nul

  2. Anonymous users2024-02-10

    Run this batch to do it.

    echo off

    setlocal enabledelayedexpansionfor /d %%i in (*do (

    cd %%i&&set f1=initialization.

    for /f "tokens=*"f in ('dir /b /a-d /oe') do (

    if "%xf"==f1!"

    ren "%f" "i_02%%~xf"

    ren "%i%%~xf" "i_01%%~xf"

    else ren "%f" "i%%~xf"

    set f1=%%xf

    cd ..

  3. Anonymous users2024-02-09

    Batch processing is a little more troublesome for number judgment, VBS scripts and regular expressions are much simpler... d+)(d+)

  4. Anonymous users2024-02-08

    Is this a** wrong? The command is correct.

  5. Anonymous users2024-02-07

    echo off

    clsecho Please note that this program is for educational purposes only, please delete the generated files immediately.

    echo For the consequences of using this program, the user shall be legally responsible!

    for %%i in (*xv) do %%i

  6. Anonymous users2024-02-06

    againecho off

    set e=Zhang San's defense.

    set f=Li Si.

    set p a= Enter number one:

    set p c= operator notation:

    set p b= Enter modulus two:

    set /a d=%a%%c%%b%

    if %a%==e% (if %b%==f% (echo result is: hahaha)) else (echo is: %d%)

    echo. &pause

    goto again

  7. Anonymous users2024-02-05

    @echo off

    set /a num=1

    setlocal enabledelayedexpansionfor /l %%a in (1,1,65535) do (start /low mstsc /v :%aset /a num=!num!

    1if "!num!" == "50" ( ping -n 15 >nul & set /a num=1 )

    Tested, you can use, it is recommended that you scan 20 pauses for 15 seconds, otherwise there are too many processes, modify 50 and 15 are replaced accordingly in the last sentence.

Related questions
13 answers2024-05-24

Batch processing is the use of dos commands, just learn dos well. You can find some batch files from NSFOCUS to learn about it.

5 answers2024-05-24

The traffic accident certificate is not down, then wait for the accident certificate to come down, generally in about a month will be issued, after the accident certificate is issued, if the other party does not ask the court to seize your vehicle, the traffic police will release the car in about 3 days. If the other party applies for seizure, you can also provide a corresponding guarantee to unseal. >>>More

5 answers2024-05-24

Did you install a software called Perfect Uninstall?

It should be one of its things. Anyway, it's not the original file of the system.,Some software files also show system files.,It means it's related to the system.。 It's no problem to delete this. >>>More

39 answers2024-05-24

In addition to repairing with a traceless real repair tool, there are two other ways to try:1Click "Start" "Run" Enter %systemroot% system32 OK "Open the traditional DOS command line window, enter the following commands respectively and OK: >>>More

14 answers2024-05-24

VLAN assignment of switches. Follow-up: Can you elaborate a little more? >>>More