Register multiple archives
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
To register multiple archives simultaneously with the piartool -ar command, use the wildcard characters asterisk (*) and question mark (?) in the file path to match multiple files. The symbol * matches all possibilities with any number of characters. The symbol ? matches a single character and may be used any number of times.
-
At a command prompt, go to the PI\adm directory.
-
Type the following command:
where path is the path to the archive file. The specified path can be a relative path.
For example, entered in the PI\adm directory, the following command registers all archive files in the PI\dat directory that begin with the piarch.0 prefix:
Note: Try not to match non-archive files. If the contents of a matched file correspond to a valid archive header, you can unintentionally register a file as an archive file.