Take a look at the BAT of several cycles (AlLeesno)

xiaoxiao2021-03-06  91

Example 1 goto

@echo off

: a

ECHO% date%;% time%

CLS

Goto: a

Example 2% 0

@echo off

ECHO% date%;% time%

CLS

% 0

[Example 3 Call]

@echo off

SET TEST =: 4

: 4

CLS

ECHO% date%;% time%

Call% Test%

Oh, I can't do it.

Example 3 for

ZZZEVAZZZZZ

@echo off

FOR / L %% I IN (0,0,0) DO TIME / T & CLS

Example 4>

MIX0

@echo off

ECHO% date%;% time%

echo 1.BAT> 2.BAT

2.bat

转载请注明原文地址:https://www.9cbs.com/read-105730.html

New Post(0)