The necessary files such as COMMAND.COM in MS-DOS 7.x are relatively large and occupy quite a bit of space, so they should be slimmed down properly. However, software like UPX, aPack, etc., cannot compress it. And the result of compression with COMPREXE is that it can run but cannot be used as a SHELL; otherwise, an "Invalid COMMAND.COM" error will occur.
I observed and found that COMMAND.COM can currently be reduced by at most 2 bytes, not even 3 bytes. It is also possible to add bytes or modify the original bytes, but just cannot reduce by more than 2 bytes. Obviously, COMMAND.COM will perform a volume check when acting as a SHELL, and it won't work if it is less than 94,290 bytes. Does anyone have a way to solve this?
I observed and found that COMMAND.COM can currently be reduced by at most 2 bytes, not even 3 bytes. It is also possible to add bytes or modify the original bytes, but just cannot reduce by more than 2 bytes. Obviously, COMMAND.COM will perform a volume check when acting as a SHELL, and it won't work if it is less than 94,290 bytes. Does anyone have a way to solve this?
Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)






