home *** CD-ROM | disk | FTP | other *** search
- PARAMETERS
-
- Replaceable parameters of the form %0 through %9 may be used in BATCH files
- as dummy values which will be replaced by values from the command line
- executing the BATCH file. %0 is replaced by the name of the BATCH file
- (minus the extension). %1 is replaced by the first value on the command
- line, %2 is replaced by the second value, and so on.
-
- Replaceable parameters may appear anywhere in the BATCH file, and can be used
- to specify filenames, commands to be executed, or strings to be searched for.
- The values on the command line executing the BATCH file cannot have spaces,
- <, or > in them. Values on the command line are separated by spaces, so they
- may not include spaces.
-
- NOTE: If you ever want to include the character '%' in a batch file, in an
- ECHO or PAUSE message, for example, you need to include it twice to get it
- displayed once. For example, the command
-
- ECHO processing 100%% complete
-
- in a batch file will display the message
-
- processing 100% complete
-
- on the screen.