Subversion Repositories SvarDOS

Rev

Rev 965 | Rev 989 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 965 Rev 982
Line 24... Line 24...
24
17.1:GOTO LABEL
24
17.1:GOTO LABEL
25
17.2:LABEL specifies a text string used in the batch program as a label.
25
17.2:LABEL specifies a text string used in the batch program as a label.
26
17.3:A label is on a line by itself and must be preceded by a colon.
26
17.3:A label is on a line by itself and must be preceded by a colon.
27
17.10:Label not found
27
17.10:Label not found
28
 
28
 
-
 
29
# FOR
-
 
30
18.0:Runs a specified command for each file in a set of files.
-
 
31
18.1:FOR %variable IN (set) DO command [parameters]
-
 
32
18.2:%variable    a replaceable parameter name.
-
 
33
18.3:(set)        a set of one of more space-separated files. Wildcards allowed.
-
 
34
18.4:command      the command to carry out for each matched file.
-
 
35
18.5:parameters   parameters or switches for the specified command.
-
 
36
18.6:To use FOR in a batch program, use %%variable instead of %variable.
-
 
37
 
29
# DOS ERRORS
38
# DOS ERRORS
30
255.1:Function number invalid
39
255.1:Function number invalid
31
255.2:File not found
40
255.2:File not found
32
255.3:Path not found
41
255.3:Path not found
33
255.4:Too many open files (no handles available)
42
255.4:Too many open files (no handles available)