VOGONS


First post, by OzzFan

User metadata
Rank Member
Rank
Member

As a heavy user of 7Zip, I wanted to see if I could make a file extractor for DOS so I could access my library of 7Zip archives. The end result is Xarc.exe, a 32bit DOS application that supports 7Zip, Zip, RAR v3/v4, and disk image files .img, .ima, and .dsk.

You can use the command line to extract, test, and view any of the supported formats, or just type XARC at the command prompt to use the user interface. There is a hard file size limit of 4GB as the structures and RAM usage are quite large, and anything larger would require 64bit pointers.

A 32bit processor is required, and the more RAM you have, the larger files you can open and extract. I would recommend a minimum of 16MB of RAM.

Full disclosure: I used Claude to assist me with the archive formats and debugging.

I'd appreciate any feedback or just a message on if you find it useful.

Some screenshots of XArc running on my NT development box:

Last edited by OzzFan on 2026-08-08, 00:40. Edited 1 time in total.

Reply 1 of 9, by eM-!3

User metadata
Rank Newbie
Rank
Newbie

That's what I expected. This is unfinished. Not so long ago I wrote to another user:

eM-!3 wrote on 2026-06-29, 08:34:

Nice hobby project but it's not ready. I am trying to use Gemini & Claude for ASM and it's really hit & miss. I am trying to make something much easier (more.com replacement) and still I see how many bugs it can put inside. It makes totally wrong assumptions all the time (from modern computers, modern OSes, modern programming), it needs to be controlled and tested after every single change. 5% time is getting first version that looks like it's working but then 95% is looking for edge cases when it isn't, preparing tests and so on. You can't trust AI to have a tiny little feature working until you really put it to hard tests and it takes time.

Your project is in better shape and it looks like one that might become useful but you need to put more effort in testing part.

Reply 2 of 9, by OzzFan

User metadata
Rank Member
Rank
Member
eM-!3 wrote on Yesterday, 06:37:

That's what I expected. This is unfinished. Not so long ago I wrote to another user:

eM-!3 wrote on 2026-06-29, 08:34:

Nice hobby project but it's not ready. I am trying to use Gemini & Claude for ASM and it's really hit & miss. I am trying to make something much easier (more.com replacement) and still I see how many bugs it can put inside. It makes totally wrong assumptions all the time (from modern computers, modern OSes, modern programming), it needs to be controlled and tested after every single change. 5% time is getting first version that looks like it's working but then 95% is looking for edge cases when it isn't, preparing tests and so on. You can't trust AI to have a tiny little feature working until you really put it to hard tests and it takes time.

Your project is in better shape and it looks like one that might become useful but you need to put more effort in testing part.

Hi, I appreciate your feedback. Can you please tell me what parts are unfinished? Did you run into any particular bugs so I can reproduce and fix them?

Reply 3 of 9, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie
OzzFan wrote on Yesterday, 00:33:

As a heavy user of 7Zip, I wanted to see if I could make a file extractor for DOS ...

Looke like a useful project.

FWIW, there was an actual DOS edition of 7zip:

7-Zip (A) 4.61 beta  Copyright (c) 1999-2008 Igor Pavlov  2008-11-23
p7zip Version 4.61 (locale=C,Utf16=off,HugeFiles=off,1 CPU)

Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...]
[<@listfiles...>]

<Commands>
a: Add files to archive
b: Benchmark
d: Delete files from archive
e: Extract files from archive (without using directory names)
l: List contents of archive
t: Test integrity of archive
u: Update files to archive
x: eXtract files with full paths
<Switches>
-ai[r[-|0]]{@listfile|!wildcard}: Include archives
-ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
-bd: Disable percentage indicator
-i[r[-|0]]{@listfile|!wildcard}: Include filenames
-m{Parameters}: set compression Method (see the manual)
-o{Directory}: set Output directory
-p{Password}: set Password
-r[-|0]: Recurse subdirectories
(CAUTION: this flag does not do what you think, avoid using it)
-sfx[{name}]: Create SFX archive
-si[{name}]: read data from stdin
-slt: show technical information for l (List) command
-so: write data to stdout (eg: 7z a dummy -tgzip -so Doc.txt > archive.gz)
-ssc[-]: set sensitive case mode
-t{Type}: Set type of archive
-v{Size}[b|k|m|g]: Create volumes
-u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
-w[path]: assign Work directory. Empty path means a temporary directory
-x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
-y: assume Yes on all queries

https://dunfield.themindfactory.com ; "Daves Old Computers" ; SW dev addict best known:
ImageDisk: rd/wr ANY floppy PChw can ; Micro-C: compiler for DOS+ManySmallCPU ; DDLINK: simple/small filetransfer(w/o netSW)via Lan/Lpt/Com

Reply 4 of 9, by OzzFan

User metadata
Rank Member
Rank
Member
DaveDDS wrote on Yesterday, 10:45:
OzzFan wrote on Yesterday, 00:33:

As a heavy user of 7Zip, I wanted to see if I could make a file extractor for DOS ...

Looke like a useful project.

FWIW, there was an actual DOS edition of 7zip:

Thanks! I wasn't aware of this since I didn't see it on their https://www.7-zip.org/download.html download page. Seems like it makes my project superfluous.

Reply 5 of 9, by eM-!3

User metadata
Rank Newbie
Rank
Newbie
OzzFan wrote on Yesterday, 10:04:

Hi, I appreciate your feedback. Can you please tell me what parts are unfinished? Did you run into any particular bugs so I can reproduce and fix them?

Clicking some buttons with mouse didn't work. I don't have WinRAR right now so the only RAR archive that I tested was one that I downloaded from this forum recently. It wasn't able to unpack it but RAR 2.50 for DOS also failed with the same archive. But Retro7Zip is extracting files without problems.

I didn't see any warning about overwriting files. I didn't see option to select files/dirs to unpack and from my point of view this is starting point which would make this program useful as right now it adds additional layer with no benefit over command line tools.

I also wonder did you project UI or leave it all to AI: menu options, look of windows, shadows, placement, colors used, descriptions etc. Was it part of your plan to have all drives listed every time in open file window?

I know this one is for DOS but did you test it with long names? Did you test it with names using uncommon chars etc.

Reply 6 of 9, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie
OzzFan wrote on Yesterday, 12:20:

Thanks! I wasn't aware of this since I didn't see it on their download page. Seems like it makes my project superfluous.

I've not actually used it in many years (but used to use it a LOT "back in the day"), and I have no idea how compatible it is with "modern" 7ZIP.

I've PMed it to you so you can check it out.

https://dunfield.themindfactory.com ; "Daves Old Computers" ; SW dev addict best known:
ImageDisk: rd/wr ANY floppy PChw can ; Micro-C: compiler for DOS+ManySmallCPU ; DDLINK: simple/small filetransfer(w/o netSW)via Lan/Lpt/Com

Reply 7 of 9, by OzzFan

User metadata
Rank Member
Rank
Member
eM-!3 wrote on Yesterday, 12:57:
OzzFan wrote on Yesterday, 10:04:

Hi, I appreciate your feedback. Can you please tell me what parts are unfinished? Did you run into any particular bugs so I can reproduce and fix them?

Clicking some buttons with mouse didn't work. I don't have WinRAR right now so the only RAR archive that I tested was one that I downloaded from this forum recently. It wasn't able to unpack it but RAR 2.50 for DOS also failed with the same archive. But Retro7Zip is extracting files without problems.

Once again, I appreciate the feedback. I tested mouse under NT 3.51 as well as real hardware 486 DOS 6.22 and it worked in all cases. The fact that you had a mouse cursor tells me the mouse functionality was there, so what buttons were you clicking in the app that didn't work?

I tested on sample .IMG, .IMA, .RAR 3/4, ZIP, and 7Z on the above platforms on files up to 8MB and all extracted fine. I also have a 3GB .7z archive that it couldn't open, but that was expected.

I can certainly do more testing and throw some more archives at it, but that was kind of the purpose of me posting this. In my test cases everything worked. In order to make this more well-rounded, I asked for feedback.

eM-!3 wrote on Yesterday, 12:57:

I didn't see any warning about overwriting files. I didn't see option to select files/dirs to unpack and from my point of view this is starting point which would make this program useful as right now it adds additional layer with no benefit over command line tools.

That's a legit oversight on my part with the file overwriting prompt. I'll have to address that. The default is to extract files + dirs always.

eM-!3 wrote on Yesterday, 12:57:

I also wonder did you project UI or leave it all to AI: menu options, look of windows, shadows, placement, colors used, descriptions etc. Was it part of your plan to have all drives listed every time in open file window?

Yes, the UI was designed by me using my custom DOSForms framework also used in my Dobson Utilities.

eM-!3 wrote on Yesterday, 12:57:

I know this one is for DOS but did you test it with long names? Did you test it with names using uncommon chars etc.

I wasn't sure about adding LFN support as of yet since my intention was that this would only run under DOS 6.x and older (down to 3.3). I did not test with names using uncommon chars. Again, that's an oversight on my part.

Reply 8 of 9, by OzzFan

User metadata
Rank Member
Rank
Member

I found the mouse problem and was able to fix it. I added the overwrite prompt with Yes/No/Yes to All/No to All. And I think I got the uncommon character checker working. I updated the release in my original post.

Reply 9 of 9, by ntalaec

User metadata
Rank Member
Rank
Member
OzzFan wrote on Yesterday, 12:20:

Thanks! I wasn't aware of this since I didn't see it on their https://www.7-zip.org/download.html download page. Seems like it makes my project superfluous.

There is also a modern port of 7-Zip for DOS:
https://github.com/dajhorn/retro7zip

Your project could be interesting if you add support to select which files you want to extract and manage conflicts extracting long file names in MS-DOS 6.22 without any LFN support.