
71
AVG Rescue CD © 2009 Copyright AVG Technologies CZ, s.r.o. All rights reserved.
General advice - instead of putting a specific file name as a parameter, you can use
(in most cases) standard substitutional characters called wildcards (? or *) and
apply command to more files.
Batch file example
@echo off
REM This is a simple batch file example
REM Creates a directory named Soubory on c:\ disk
If not exist c:\soubory md c:\soubory
REM Removes attribute settings "read-only" for all .txt files in the current directory
attrib -R *.txt
REM Copies all .txt files to the c:\soubory folder
copy *.txt c:\soubory\
The batch commands need to be placed within the text file with .bat extension (like
batch.bat for example). Once you execute the batch file, all entered commands will
be processed.
%ERRORLEVEL% is a system variable type that returns an error code of last
command used. Any non-zero value usually indicates an error.
It is also possible to use an existing batch (.bat or .cmd), but keep in mind that it
may not be 100% compatible with AVG Command Line. Therefore please always
verify before running, that all commands (and their parameters) used in the batch
are supported by AVG Command Line.
6.2. freeCommander
We recommend that only well experienced computer users with advanced
computer knowledge use this program!
freeCommander is a dual-panel file explorer similar to programs such as Total
Commander. It is slightly different from the standard Windows Explorer although it
offers the same functions plus many additional features.