| 1 | :h2 res=91000 name=PANEL_EXTRACT.Extract from archives
|
|---|
| 2 | :i1 id=aboutExtract.Extract from archives
|
|---|
| 3 | :artwork name='..\..\bitmaps\extract.bmp' align=center.
|
|---|
| 4 | :p.
|
|---|
| 5 | To extract from an archive, select the archive(s), then select
|
|---|
| 6 | :hp1.Extract:ehp1. from a context menu.
|
|---|
| 7 | :p.
|
|---|
| 8 | FM/2 presents you with a dialog that allows you to select the method of
|
|---|
| 9 | extraction, add masks for files to extract, tweak the command line for
|
|---|
| 10 | exotic settings, and select the extraction directory (the directory to
|
|---|
| 11 | which the files will be extracted. You can drag file system objects
|
|---|
| 12 | onto the Extract Directory entryfield to set the extraction directory,
|
|---|
| 13 | or you can type in one you like, or click the Walk button.
|
|---|
| 14 | :p.
|
|---|
| 15 | If you check the :hp1.Remember...:ehp1. checkbox, this dialog will
|
|---|
| 16 | remember some of its settings for the next time you use it. Uncheck
|
|---|
| 17 | it and it'll forget them and use the defaults.
|
|---|
| 18 | :p.
|
|---|
| 19 | Click :hp1.Okay:ehp1. to begin extracting from the archive, or
|
|---|
| 20 | :hp1.Cancel:ehp1. if you change your mind.
|
|---|
| 21 | :p.
|
|---|
| 22 | You can also extract files from the archive in the :link reftype=hd
|
|---|
| 23 | res=90200.Archive Container:elink. window using that window's menus;
|
|---|
| 24 | double-click an archive file in an FM/2 main window to view the
|
|---|
| 25 | archive listing.
|
|---|
| 26 | :p.
|
|---|
| 27 | Notes&colon.
|
|---|
| 28 | :p.
|
|---|
| 29 | I have a copy of ARC.EXE here that's 'broken' in that it won't extract
|
|---|
| 30 | files unless given a DOS filemask (for instance, to extract all files
|
|---|
| 31 | you need to enter *.* (not *) in the masks field). FM/2 normally gives
|
|---|
| 32 | :hp2.no:ehp2. filemasks as the argument when you want to extract
|
|---|
| 33 | everything, which every other archiver in the world understands.
|
|---|
| 34 | :p.
|
|---|
| 35 | The ZIP/UNZIP programs are case sensitive even though OS/2 itself is
|
|---|
| 36 | not, so, for example, trying to extract "*.PKT" when the file inside the
|
|---|
| 37 | archive is "01234567.pkt" will fail to extract the file -- you'd have to
|
|---|
| 38 | use "*.pkt". If in doubt, use both or use the -C command line switch to
|
|---|
| 39 | force UNZIP to ignore case.
|
|---|
| 40 | :p.
|
|---|
| 41 | I'm told there's a bug in some versions of 4OS2 that can cause
|
|---|
| 42 | a call to an archiver to fail if the archiver has an extension (i.e.
|
|---|
| 43 | UNZIP works, UNZIP.EXE doesn't). If things fail for no apparent reason
|
|---|
| 44 | and you're using 4OS2 you might keep it in mind.
|
|---|
| 45 |
|
|---|
| 46 | :h2 res=90300 name=PANEL_ARCHIVE.Build an archive
|
|---|
| 47 | :i1 id=aboutArchive.Build an archive
|
|---|
| 48 | :artwork name='..\..\bitmaps\archive.bmp' align=center.
|
|---|
| 49 | :p.
|
|---|
| 50 | To build an archive, select some files, then select :hp1.Archive:ehp1.
|
|---|
| 51 | from a context menu. You can add files to an existing archive by
|
|---|
| 52 | link-dragging them onto the archive object, or dragging them onto an
|
|---|
| 53 | :hp1.:link reftype=hd res=90200.Archive Container:elink.:ehp1. window.
|
|---|
| 54 | :p.
|
|---|
| 55 | FM/2 will ask you for the type of the archive by presenting you with a
|
|---|
| 56 | listbox from which to pick an archiver.
|
|---|
| 57 | After that, another dialog appears to let you modify how the archive
|
|---|
| 58 | will be created. Additional masks may be entered (remember that the ZIP
|
|---|
| 59 | and UNZIP programs are case sensitive), the archiver command line
|
|---|
| 60 | tweaked, and so forth. Click :hp1.Okay:ehp1. to create the archive, or
|
|---|
| 61 | :hp1.Cancel:ehp1. if you change your mind.
|
|---|
| 62 | :p.
|
|---|
| 63 | Note that the archive name may be an existing archive, in which case
|
|---|
| 64 | it's modified by adding the new files. If some of the files are
|
|---|
| 65 | already in the archive, they're replaced.
|
|---|