EDIT: This DOS version of 7ZA appears to NOT work with wildcards or directories, rendering it almost entirely useless. Per the examples (and every other version of 7zip I've ever used), the example command in the help doesn't work, eg:
7za a -mx a.7z *.txt
doesn't work, even when there are many .txt files in the directory. It just aborts and creates a 32-byte .7z file with zero files added. On the other hand, 7za (and also the included 7zr and 7zm .exe) do successfully create archives with each file manually specified (eg, "7z a a.7z a.txt b.txt c.txt ... ). Also, it doesn't work to add directories, eg (7z a a.7z sample\) to add "directory \sample to the archive. I even tried UNIX-style switches (eg, "7za a a.7z /sample" even though this didn't make sense.
Why didn't you make it possible to add files with wildcards or just by not explicitly stating any files to - by default - add ALL files, eg "7za a -mx a.7z" should just create a .7z archive with all files in the current directory added, just like in every other version of 7zip I've ever used?
How in the world to add directories and use wildcards when creating new .7z files? I must either be missing something major or my brain must be cooked.
I also replaced the Causeway DOS extender with CWSDPMI and D3X stubs and still the same behavior as above. Madness...
Outstanding. Long live MS-DOS in 2025 and beyond.
The last version of 7zip for DOS that I could find was version 16.02 . This is a great upgrade. I'm testing speed and robustness compared to the very old DOS versions (9.20 and 16.02), and hope this one is faster for the same settings, especially on newer systems on bare metal.
As to 7zdec, the 42 kb version referenced above is super fast and lean. RayeR also made some versions of 7zdec (based on 7zdec from 7zip versions 15 and 16) for DOS which were even smaller (30kb or so UPXed).
Incidently, does your new compile support the newest libdeflate and zopfli variants of creating a deflate'd ZIP archive, as advanceZIP version 2.6 (binary available for DOS) does?