Skip to content

Instantly share code, notes, and snippets.

@VonC
Created July 25, 2011 11:35
Show Gist options
  • Save VonC/1103955 to your computer and use it in GitHub Desktop.
Save VonC/1103955 to your computer and use it in GitHub Desktop.
Peazip 7z in command line: alias on Windows
Wrapper:
C:\Prog\Toolbox\bin>more peazip.bat
@echo off
set t=%~dp0
set adp0=%t::\=:\"%"
call "%~dp0checkupdate.bat"
start /B %adp0%..\apps\peazip-3.6\res\7z\7z.exe %*
=> aliases:
doskey pzc=peazip.bat a -tzip -mm=Deflate -mmt=on -mx5 -w.\ $2 $1
doskey pzx=peazip.bat x -aos -o$2\ -pdefault $1
=> usage:
pzc aDirectory anArchive.zip
pzx anArchive.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment