China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-28 14:53
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Discussion] Tools for creating CAB compressed files under DOS and their specific usage methods! View 1,905 Replies 8
Original Poster Posted 2004-12-22 00:00 ·  中国 江苏 扬州 仪征市 电信
初级用户
Credits 179
Posts 28
Joined 2004-12-20 00:00
21-year member
UID 34779
Gender Male
Status Offline
For the purpose of learning, I hereby seek your help in the following:
1. Tools for creating CAB compressed files under DOS and their specific usage methods!
2. Does MSDOS7.1 come with the internal command EXPAND or EXTRACT to extract CAB compressed files?
3. Is the command EXT.EXE the tool EXTRACT for extracting CAB compressed files? What is its usage method: EXTRACT ------- or EXT ------
Floor 2 Posted 2004-12-22 00:00 ·  中国 广东 广州 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
1. I haven't seen CAB making tools under DOS; only the Windows version has them. Recommend Cabinet manager.
2. YES. It's EXTRACT.
3. EXT is not Extract.exe, but a tool "derived" from Extract.exe, used to facilitate extracting files from Win9x/ME installation files (*.CAB). EXT.exe must rely on Extract.exe, that is, without extract, EXT cannot be used.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 3 Posted 2004-12-22 00:00 ·  中国 江苏 扬州 仪征市 电信
初级用户
Credits 179
Posts 28
Joined 2004-12-20 00:00
21-year member
UID 34779
Gender Male
Status Offline
Floor 4 Posted 2004-12-22 00:00 ·  中国 江苏 扬州 仪征市 电信
初级用户
Credits 179
Posts 28
Joined 2004-12-20 00:00
21-year member
UID 34779
Gender Male
Status Offline
I used Microsoft's IExpress to make a CAB compressed file and found that it called the CABINET MAKE program. This program runs in the command window of WINXP. Then, does this program should be able to run directly under pure DOS to make a CAB compressed package? If yes, please tell me how to operate!
Floor 5 Posted 2004-12-23 00:00 ·  中国 安徽 宿州 电信
银牌会员
★★★
Credits 1,339
Posts 595
Joined 2004-05-26 00:00
22-year member
UID 25306
Gender Male
From 安徽 宿州
Status Offline
I also didn't find a Cab creation tool for the DOS version. I'm using CabManager, and the Cabs it creates can be opened with Microsoft's Extract.
Floor 6 Posted 2004-12-24 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Bart Lagerweij uses the cabarc.exe provided by Microsoft to create cab files. This program is a command-line program and should be able to run in a pure DOS environment. The following is the batch script written by Bart for creating cab files, from which you can find the download address of this program:

@echo off
rem -----------------------
rem MAKE.BAT v2
rem (c) 2002 Bart Lagerweij
rem -----------------------
if not exist cabarc.exe goto _nocab
if "%1" == "" goto _usage
if exist source\%1\nul goto _dirok
echo MAKE: Directory "source\%1" does not exist...
goto _abort
:_dirok
rem if exist cabs\%1.cab del cabs\%1.cab
rem rar.exe a -as -mm -s -r -md1024 -m5 -ep1 cabs\%1.cab source\%1\*.*
cabarc -m LZX:21 -p -r -P source\%1\ n cabs\%1.cab source\%1\*.*
if errorlevel 1 goto _abort
echo.
echo MAKE: Module "%1" created. File is "cabs\%1.cab"
goto _end
:_nocab
echo.
echo MAKE: Cannot find needed file "cabarc.exe"
echo MAKE: You can extract it from
echo http://msdn.microsoft.com/library/en-us/dnsamples/cab-sdk.exe
goto _abort
:_usage
echo.
echo MAKE.BAT is used to quickly build a modboot module (.cab file)
echo.
echo Usage: make name
echo.
echo name: the name to build (should exist as directory in source)
echo.
goto _end
:_abort
echo.
echo Aborted...
pause
:_end
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 7 Posted 2004-12-24 00:00 ·  中国 江苏 扬州 电信
初级用户
Credits 179
Posts 28
Joined 2004-12-20 00:00
21-year member
UID 34779
Gender Male
Status Offline
Thanks to Climbing's help, I have found and downloaded it in Microsoft, but it's all in English.特此 provide the download link to those who are interested for joint research. Hope experts can localize it into Chinese!
http://download.microsoft.com/download/platformsdk/cab/2.0/w98nt42kmexp/en-us/Cabsdk.exe
Floor 8 Posted 2004-12-27 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Is it necessary to localize into Chinese? I think if someone thinks they can't do computer work without a Chinese character environment, then they might as well not do computer work.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 9 Posted 2004-12-27 00:00 ·  中国 江苏 扬州 仪征市 电信
初级用户
Credits 179
Posts 28
Joined 2004-12-20 00:00
21-year member
UID 34779
Gender Male
Status Offline
Actually, it doesn't matter whether it's Chinese-ized or not, because when entering, it's always entering English. It's just that when running, seeing one's own mother tongue always brings a sense of intimacy.
Forum Jump: