ZipOne - Free ZIP & RAR Archive Utility

API Reference

ZipOne provides a command-line interface (CLI) for programmatic access to archive operations. This reference covers all available commands and options.

Prerequisites

  • ZipOne must be installed on your system
  • Command Prompt, PowerShell, or terminal access
  • Basic familiarity with command-line interfaces
  • For script usage: knowledge of your scripting language (batch, PowerShell, etc.)

Command Line Interface

ZipOne CLI can be accessed from Command Prompt, PowerShell, or integrated into scripts and applications.

Basic Syntax

zipone [command] [options] [arguments]

Commands

Extract

Extract files from an archive.

zipone extract <archive> [-d destination] [-p password] [-o overwrite]

Options:

  • -d Destination folder (default: current directory)
  • -p Password for encrypted archives
  • -o Overwrite existing files (yes/no/ask)

Create

Create a new archive.

zipone create <archive> [files...] [-f format] [-c level] [-p password]

Options:

  • -f Archive format (zip, 7z, tar, etc.)
  • -c Compression level (0-9, default: 6)
  • -p Password for encryption

List

List contents of an archive.

zipone list <archive> [-v verbose]

Test

Test archive integrity.

zipone test <archive>

Repair

Attempt to repair a corrupted archive.

zipone repair <archive> [-o output]

Examples

Extract ZIP Archive

zipone extract archive.zip -d C:\extracted

Create Compressed Archive

zipone create backup.zip folder1 folder2 -f zip -c 9

Extract Password-Protected Archive

zipone extract secure.zip -p mypassword -d output

Return Codes

ZipOne CLI returns the following exit codes:

  • 0 - Success
  • 1 - General error
  • 2 - Invalid arguments
  • 3 - Archive not found
  • 4 - Corrupted archive
  • 5 - Wrong password

Troubleshooting

Common CLI issues and solutions:

  • "Command not found" or "zipone is not recognized": Ensure ZipOne is in your system PATH, or use the full path to the executable
  • Permission denied errors: Some operations may require administrator privileges - run Command Prompt or PowerShell as administrator
  • Archive not found (exit code 3): Verify the archive path is correct and the file exists. Use absolute paths if relative paths fail
  • Wrong password (exit code 5): Double-check the password. Passwords are case-sensitive
  • Invalid arguments (exit code 2): Review command syntax and ensure all required parameters are provided
  • Script usage issues: Ensure proper escaping of paths with spaces, and use quotes around file paths

For more detailed troubleshooting, see our troubleshooting guide or contact support.

Related Documentation