Code: Select all
UseLZMAPacker()
; Create the packed file
If CreatePack(0, "mycompressedfiles2.7z")
; add your files
AddPackFile(0, "text_over_4_gb_size.txt", "text_over_4_gb_size.txt")
ClosePack(0)
EndIf
The result is small size archive with a packed piece of text file
I use demo version of PB 5.72