Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: orb85750 on November 27, 2010, 02:45:23 AM
-
I've used .adf files, but up until now I've avoided .lha files. I gather that I need a copy of LHA (an executable) on my machine in order to unzip the .lha files. Is there a good place from which to grab this LHA executable? Thanks.
-
I am sure you can get lha program for free on aminet.
Just get lha, run it on amiga, and it will work.
Rednova
-
You forgot the million dollar password:
http://aminet.net/package/util/arc/lha
...download this bad boy and then rename its name to simply 'lha' and place in your 'C' directory. Or type lha.run everytime you want to unarc something - I don't care. lol
lha e file.lha ram: (or) lha file.lha ram:
I can't remember if you need the 'e' (extract) switch or not. But anyway... that CLI command extracts and then places the folder/files into your RAM: disk from which you can examine the contents of safely.
-
If you need to unpack lha on Windows, I think you can use WinRAR as well !
But watch out for unsupported filestructures in the archive. (Some characters Windows filesystem dont like .. I think :-)
-
Thanks guys!
-
I can't remember if you need the 'e' (extract) switch or not. But anyway... that CLI command extracts and then places the folder/files into your RAM: disk from which you can examine the contents of safely.
i think you use 'x'
-
Hi,
Put lha (lharc) etc in you C section, then fire off diskmaster II. I use this all the time to use lha on my Amiga, been using it since 92, works well and makes fast backups of your HD on the Amiga.
save2600, nice answer, wish more people answered like this.
smerf
-
The "e" switch extracts files without paths
The "x" switch extracts files with full paths.
Another thing to remember is that the destination dir must end with a colon or slash like this:
lha x file.lha ram:
lha x file.lha ram:stuff/
If you simply want to see what's inside an archive you can use this:
lha v file.lha
You can also re-direct this output to a file like this:
lha v file.lha >ram:archlist
Then you can open ram:archlist in a text editor/viewer.
-
You will need to double-click and run the lha.run file before you copy anything anywhere. It's a self-extracting archive and should produce a few different binaries for different CPUs. Copy the one best suited to your CPU to C: and rename it lha.
And always use lha x to extract your files, don't bother with e or you're only asking for problems.