Just can't stay away
Joined: 2006/11/24 18:52 Last Login
: 2021/9/26 20:59
From Gloucestershire, UK.
Group:
Registered Users
|
@mritter0
try:
LhA p -qN RAM:archive.lha Drawer1/Drawer2/TheFile >ram:TheFile
This almost works but adds \n-------------> END OF FILE <-------------\n to the file, theoretically if it's an exe it shouldn't hurt, the example program I extracted worked ok.
You're other option is a small dos script eg.
.key archive,file .bra { .ket } lha x {archive} {file} ram: move ram:{file} ram: delete ram:{file} all force
This will leave a few emtpy drawers lurking in ram: but at least they don't take up any space.
A neater way is to use dopus5 and xad to open the archive in a lister and just copy the file you want where you want. or use xadfilesystem do mount the archive as a partition and do the same.
Maybe XADUnFile might work, I've not tried that though.
|