Expand
Decompress all files inside the specified cabinet (.cab) file to the folder you specify.
Syntax
Expand,<CABfile>,<DirToDecompress>,<Optional Parameters>
A single file can be extracted from the cab file, by giving it's name as third parameter
Expand,c:\MyPath\MyFile.cab,c:\MyNewPath,YourFile.dll
Remarks
- Expand of a single file gives a warning in the log, if the destination file already exists.
- If the optional parameter PRESERVE added, Expand of a single file does not overwrite an existing file.
- A warning is still given
The warning can be suppressed by an additional parameter NOWARN
- The parameters PRESERVE, and NOWARN can be used simultaneously. The order does not matter.
Example
In this example Expand will try to expand all files found inside c:\MyPath\MyFile.cab to the folder c:\MyNewPath
Expand,c:\MyPath\MyFile.cab,c:\MyNewPath