ENDE
Sitemap

HomeHome
GalleryGallery
TipsTips & Snippets
RegExRegEx
TCTotal Commander
NexTViewNexTView EPG
Mozilla/FirefoxMozilla/Firefox
CSSCSS
JSJavaScript
MiscMiscellaneous
DownloadsDownloads
ContactContact
AboutAbout me
ReferencesReferences
LegalLegal

Tips for ComArc (com_convert.exe)

ComArc is a commandline version of ArcConvert, a tool to convert file archives.
 
From: 7-ZIP, LZH, CAB, ZIP, ARJ, ACE, RAR, TAR, TGZ, GZ, Z, BZ2, YZ1, YZ2, GCA, BEL, RPM, DEB, BH, Noa32, HKI, PAQAR,SQX, HA, ZOO, UHARC, LFB, ZLIB, UCL, IMP, RS, SPL, APK, Arc, DZ, MSI, ALZ, PMA, PAQ7, CHM ,UDA
 
To: ZIP, 7-ZIP, CAB, LHA, TAR, TGZ, BZ2, YZ1, BGA, RAR, ACE, NOA32, HKI, PAQAR, UHARC, YZ2, DZ, HA

Because in the original version no pass of a file list for batch conversion in Total Commander was possible, I contacted Dirk Paehl, who was so nice, to implement souch kind of feature into that tool.

Externe Ressourcen

Example for entries in the Starter menu of TC

Presumed is, that the files com_convert.exe and cconv.bat are in the same folder as ArcConvert. Here they are in a subdir of Total Commander, which makes it easier to port TC features on a USB stick for instance. In this case the converted files will be stored in the same folder as the input files.

Contents of the batch file cconv.bat

@ECHO OFF
FOR /F "tokens=*" %%I IN (%1) DO com_convert "%%I" %2

Entries in wincmd.ini:

...
[user]
...
menu85=-Convert archives
menu86=To 7Z ...
cmd86=cconv
param86=%L 7z
path86=%COMMANDER_PATH%\packer\arcconvert\
menu87=To ACE ...
cmd87=cconv
param87=%L ace
path87=%COMMANDER_PATH%\packer\arcconvert\
menu88=To BGA ...
cmd88=cconv
param88=%L bga
path88=%COMMANDER_PATH%\packer\arcconvert\
menu89=To BZ2 ...
cmd89=cconv
param89=%L bz2
path89=%COMMANDER_PATH%\packer\arcconvert\
menu90=To CAB ...
cmd90=cconv
param90=%L cab
path90=%COMMANDER_PATH%\packer\arcconvert\
menu91=To LHA ...
cmd91=cconv
param91=%L lha
path91=%COMMANDER_PATH%\packer\arcconvert\
menu92=To RAR ...
cmd92=cconv
param92=%L rar
path92=%COMMANDER_PATH%\packer\arcconvert\
menu93=To TAR ...
cmd93=cconv
param93=%L tar
path93=%COMMANDER_PATH%\packer\arcconvert\
menu94=To TGZ ...
cmd94=cconv
param94=%L tgz
path94=%COMMANDER_PATH%\packer\arcconvert\
menu95=To YZ1 ...
cmd95=cconv
param95=%L yz1
path95=%COMMANDER_PATH%\packer\arcconvert\
menu96=To ZIP ...
cmd96=cconv
param96=%L zip
path96=%COMMANDER_PATH%\packer\arcconvert\
menu97=--