Keyword: ZIPFILE - Create zip from file(s)
Posted: Sun Oct 10, 2021 5:05 pm
Description
Parameters
Usage
- Create or append specified file to a compressed zip file.
- Can be used with FILEMON(R) to archive all files in a directory to a specified zip file.
Parameters
- x: specify the full file path for the file that you want to zip.
- y: specify the full file path for the zip to be saved.
- After all files are send to zip. It is required to issue "ZIPCLOSE" as a separate follow up command to indicate closure of the zip file.
Usage
- ZIPFILE x >> y
- ZIPCLOSE
- REPEATS 1 ZIPFILE c:\secret.txt >> c:\secret.zip | ZIPCLOSE
- FILEMON @@ >> ZIPFILE %FILE% >> c:\secret.zip
- This script will save all current automation object into a zip file and save it at c drive.