@echo off rem This is a 4DOS batch file echo Archives: echo. rem Switches: /4 = 4-column, kilobyte display rem /k = no header rem /v = vertical sort rem /o:e = sort by filetype :: Note that several of these archive formats are quite obsolete iff %#==1 then dir %@path[%1]*.arc;*.arj;*.lbr;*.lzh;*.zip;*.zoo;*.7z;*.bz2;*.cab;*.jar;*.gz;*.tgz;*.xz /4kv /o:e else dir *.arc;*.arj;*.lbr;*.lzh;*.zip;*.zoo*.7z;*.bz2;*.cab;*.jar;*.gz;*.tgz;*.xz /4kv /o:e endiff