Pack / Pack2: Difference between revisions
Jump to navigation
Jump to search
Created page with " ==Procedure Sample== OK, so for anyone out there who may need this, or a possible future self of mine in a couple of years' time: 1. Unpack your archive file with the commands: "Unpack oldapp.@ /SHOW > oldapp.txt" -- this will let you know the target paths for uncompressed files "Unpack oldapp.@ ." will expand all files in the current dir (".") 2. Edit oldapp.txt. This might look like this ----8<--------8<--------8<--------8<--------8<--------8<--------8<---- old..." |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Software | |||
|Picture=NA.png | |||
|Version= | |||
|Author= | |||
|Vendor= IBM | |||
|License= | |||
|Download={{FileLink|OS2Tk_4-5_2024-03-11.zip}} | |||
}} | |||
Pack.exe and Pack2 comes on the IBM OS/2 Toolkit package, usually installed at "C:\os2tk45\bin". | |||
Unpack.exe comes bundle with OS/2 Warp. | |||
==Version== | |||
{|class="wikitable" | |||
!Name||Date||Version||Size||Comments | |||
|- | |||
|pack.exe || 2001-09-25|| || 58,400 bytes|| | |||
|- | |||
|pack2.exe ||2000-09-05|| || 73,600 bytes|| | |||
|- | |||
|unpack.exe ||2002-09-10|| || 74,896 bytes|| | |||
|} | |||
==Procedure Sample== | ==Procedure Sample== | ||
For anyone out there who may need to unpack and pack some files: | |||
1. Unpack your archive file with the commands: | 1. Unpack your archive file with the commands: | ||
Line 33: | Line 55: | ||
==Links== | ==Links== | ||
* [https://www.os2world.com/forum/index.php/topic,2690.msg29549.html#msg29549] | * [https://www.os2world.com/forum/index.php/topic,2690.msg29549.html#msg29549 OS2World Forum] | ||
[[Category:Archivers]] |
Latest revision as of 21:43, 7 May 2025
Pack / Pack2 | |
---|---|
![]() | |
Version | |
Vendor | IBM |
Author | |
License | |
Download | OS2Tk_4-5_2024-03-11.zip |
Website |
Pack.exe and Pack2 comes on the IBM OS/2 Toolkit package, usually installed at "C:\os2tk45\bin".
Unpack.exe comes bundle with OS/2 Warp.
Version
Name | Date | Version | Size | Comments |
---|---|---|---|---|
pack.exe | 2001-09-25 | 58,400 bytes | ||
pack2.exe | 2000-09-05 | 73,600 bytes | ||
unpack.exe | 2002-09-10 | 74,896 bytes |
Procedure Sample
For anyone out there who may need to unpack and pack some files:
1. Unpack your archive file with the commands:
"Unpack oldapp.@ /SHOW > oldapp.txt" -- this will let you know the target paths for uncompressed files "Unpack oldapp.@ ." will expand all files in the current dir (".")
2. Edit oldapp.txt. This might look like this
----8<--------8<--------8<--------8<--------8<--------8<--------8<---- oldapp.@ [...] ->\os2\dll\OldApp.dll ->\os2\help\OldApp.hlp [...] ----8<--------8<--------8<--------8<--------8<--------8<--------8<----
and we need to transform that into something like this
----8<--------8<--------8<--------8<--------8<--------8<--------8<---- [...] FixedApp.dll /H:\os2\dll\OldApp.dll FixedApp.hlp /H:\os2\help\OldApp.hlp [...] ----8<--------8<--------8<--------8<--------8<--------8<--------8<----
to rebuild the archive using the new files instead of the old ones, while keeping their target paths. Save the list as FixedApp.lst, and type:
"Pack FixedApp.lst OldApp.@ /L"
to pack everything back. You should be good to go. Pack2 shares the same syntax, apparently.