PDA

View Full Version : how do i decompress from one drive and write the file to another drive?


sgt_chimp
15 December 2001, 15:32
The how to guides tell you how to decompress with LHA and write to the same drive. But I want to decompress from the built in disk drive and write the file to the RAM disk or the second disk drive, how would i go about doing this?

RetroMan
15 December 2001, 16:22
just set the destination drive and/or directory at the end of the command line, like "lha blablablabla (options etc.) whatever.lha DESTINATION" .....

sgt_chimp
15 December 2001, 17:12
What do i call the ram disk when trying to extract to it as i've tried

LHA E(for extract) <filename>.lha ram disk

and it fails

§ane
15 December 2001, 17:28
LhA x archive.lha ram:directory/

Make sure that you include the forward slash at the end to indicate a directory and not a file, if the directory doesn't exist it will be created.

TikTok
15 December 2001, 17:49
Also, it's usually better to use x like Sane does to extract, because e will not preserve the directory structure of the archive, which can be a pain. But if you're only extracting single files I guess it makes no difference :D.

RetroMan
15 December 2001, 18:42
:laughing hupssss, I didn´t noticed the problem was how to call the ram disk :laughing

oh btw. as TikTok said ..... allways use X as decompress option (not E) !