
66
AVG Rescue CD © 2009 Copyright AVG Technologies CZ, s.r.o. All rights reserved.
Dir /B
Uses bare format (no heading information or summary).
ECHO
Enables or disables displaying of text on the current terminal device.
Echo on
Causes all subsequent commands in a
batch file to be displayed on the terminal
device before they are executed.
Echo off
Reverses the effect of a previous ECHO ON
(ECHO is OFF by default). The ECHO OFF
command can be prevented from displaying
by preceding it with an @ sign.
Echo message
Displays „message“ in the current window.
EXIT
Terminates the current command line session.
FOR
Runs a specified command for each file in a set of files.
To display content of all TXT or DOC files located in the current
directory, use this syntax:
for %f in (*.doc *.txt) do type %f
GOTO
Transfers execution to another statement within a batch file.
The label which is the target of a GOTO may be up to 255 characters
long but may not include spaces (this is different from other
operating systems). If two or more identical labels exist in a batch
file the first one will always be executed. Attempting to GOTO a
nonexistent label terminates the batch file execution.
GOTO has no effect when used interactively.
Goto Reference
Transfers to a line marked within a batch
file as :Reference.
IF
Conditionally executes a command.
if not
If string1 equals string2, file.txt will be