#Decompressing a file.
3 messages in this thread
Please can you help! While being fairly new to the amiga I need some
help with downloading. i understand that all files that are
downloaded are compressed & I have the programm LHA138.RUN.The
problem I have is trying to get LHA138.run to decompress a downloaded
program. I have tried to work it out but am really stuck. I am using
a amiga 500+ with 2 MB but I'dont have a hard drive & am only using
DF0. So could anyone help where as I can only decompress files using
DF0. Thanks!
Darren,
You first need to decompress LHA138.RUN itself. Do this,
copy LHA138.RUN to RAM-DISK:
In the shell window then type the following:
CD ram:
dir
LHA138.RUN (this should show up)
SHELL 1 > LHA138.RUN < typing this will cause it to self-extract)
Answers to the next three questions will be Yes, NO, NO.
Shell 1 > DIR
LHa
LHA.MAN
Copy LHA to your C: directory on your boot disk if it can fit.
LHA.MAN is the manual.
To use the program on a single disk system I suggest you copy your archives to
your ram disk, and extract them from there.
CD RAM:
LHA -x x ram:filename.LHA (or .LZH)
Hope this is somewhat clear,
Chris
Darren,
Let us suppose that you have LHA138.RUN on a disk in DF0:. To unpack it,
you type in a shell:
CD DF0:
DF0:LHA138.RUN
This will unpack your LHA138.RUN, giving you a doc file and LHA. Then,
you can either put LHA into your c: directory on the workbench or you can
use it by specifying the path to it each time you want to use it.
For now, let us suppose that you had downloaded AP.LHA to that same disk
in df0: To unpack AP.LHA, you would now type:
MAKEDIR DF0:AP
CD DF0:AP
DF0:LHA E DF0:AP.LHA
This would unpack AP.LHA into a directory on df0: named AP – the directory
you made in the first of the three lines above. You will notice that LHA
always unpacks files into the current directory (CD).
After you have unpacked a program, you can make an icon for its directory
if you wish by copying an icon from your Workbench. To do this, each disk
needs its own name. Suppose that your disk in df0: was named COMM. Then
you could copy the icon by typing something like:
COPY WORKBENCH:SYSTEM.info Comm:AP.info
The system will prompt you when you have to change disks.
Let us know if you have other questions.
—Betty