| 1 | .***********************************************************************
|
|---|
| 2 | .*
|
|---|
| 3 | .* $Id: archive.ipf 1306 2008-11-30 19:23:56Z gyoung $
|
|---|
| 4 | .*
|
|---|
| 5 | .* Archiver Usage
|
|---|
| 6 | .*
|
|---|
| 7 | .* Copyright (c) 1993-98 M. Kimes
|
|---|
| 8 | .* Copyright (c) 2006 Steven H.Levine
|
|---|
| 9 | .*
|
|---|
| 10 | .* 05 Jan 07 GKY Update extract dialog help
|
|---|
| 11 | .*
|
|---|
| 12 | .***********************************************************************
|
|---|
| 13 | .*
|
|---|
| 14 |
|
|---|
| 15 | :h2 res=91000 name=PANEL_EXTRACT.Extract from archives
|
|---|
| 16 | :i1 id=aboutExtract.Extract from archives
|
|---|
| 17 | :artwork name='..\..\bitmaps\extract.bmp' align=center.
|
|---|
| 18 | :p.
|
|---|
| 19 | To extract from an archive, select the archive(s), then select
|
|---|
| 20 | :hp1.Extract:ehp1. from a context menu.
|
|---|
| 21 | :p.
|
|---|
| 22 | FM/2 presents you with a dialog that allows you to select the method of
|
|---|
| 23 | extraction. :hp1.Normal:ehp1., the default, will extract all the files in the archive
|
|---|
| 24 | to the extract directory without any paths which may be present in the archive.
|
|---|
| 25 | This can create a problem if the archive contains files of the same name in
|
|---|
| 26 | different paths (i.e. the last of theses files extracted will over write the
|
|---|
| 27 | ones extracted earlier). :hp1.With Paths:ehp1. will extract the archive including the
|
|---|
| 28 | any directories in the archive structure. This can be made the default by checking the
|
|---|
| 29 | :hp1.Always Paths:ehp1. box. Regardless of which method is the default you may
|
|---|
| 30 | select the other option on a one time basis without changing the default for future archives.
|
|---|
| 31 | If you only wish to extract certain files you can select masks (i.e *.txt) for the files
|
|---|
| 32 | you wish to extract. The command line box allows you to change or add extraction options.
|
|---|
| 33 | See the help files for your archiver (e.g. zip.exe) for more information.
|
|---|
| 34 | You can select the extraction directory (the directory to which the files will be extracted.
|
|---|
| 35 | The default is the current directory or you can set a specific directory as the default on
|
|---|
| 36 | the Archiver page of the Setting Notebook. You can set the :hp1.Filename as extract path :ehp1.
|
|---|
| 37 | to have FM/2 create an extract path based on the archive name.The path is made as a subdirectory
|
|---|
| 38 | to the directory the archive is in. You can use the :hp1.Walk:ehp1. button
|
|---|
| 39 | find the directory you wish to extract to or you can type a path directly into the listbox.
|
|---|
| 40 | If the path you type in doesn't exist FM/2 will offer to create it for you.
|
|---|
| 41 | You can also drag file system objects onto the Extract Directory entryfield
|
|---|
| 42 | to set the extraction directory.
|
|---|
| 43 | :p.
|
|---|
| 44 | If you check the :hp1.Remember...:ehp1. checkbox, this dialog will
|
|---|
| 45 | remember some of its settings for the next time you use it. Uncheck
|
|---|
| 46 | it and it'll forget them and use the defaults.
|
|---|
| 47 | :p.
|
|---|
| 48 | Click :hp1.Okay:ehp1. to begin extracting from the archive, or
|
|---|
| 49 | :hp1.Cancel:ehp1. if you change your mind.
|
|---|
| 50 | :p.
|
|---|
| 51 | You can also extract files from the archive in the :link reftype=hd
|
|---|
| 52 | res=90200.Archive Container:elink. window using that window's menus;
|
|---|
| 53 | double-click an archive file in an FM/2 main window to view the
|
|---|
| 54 | archive listing.
|
|---|
| 55 | :p.
|
|---|
| 56 | Notes&colon.
|
|---|
| 57 | :p.
|
|---|
| 58 | I have a copy of ARC.EXE here that's 'broken' in that it won't extract
|
|---|
| 59 | files unless given a DOS filemask (for instance, to extract all files
|
|---|
| 60 | you need to enter *.* (not *) in the masks field). FM/2 normally gives
|
|---|
| 61 | :hp2."*":ehp2. as the argument when you want to extract
|
|---|
| 62 | everything, which most other archiver in the world understand.
|
|---|
| 63 | :p.
|
|---|
| 64 | The ZIP/UNZIP programs are case sensitive even though OS/2 itself is
|
|---|
| 65 | not, so, for example, trying to extract "*.PKT" when the file inside the
|
|---|
| 66 | archive is "01234567.pkt" will fail to extract the file -- you'd have to
|
|---|
| 67 | use "*.pkt". If in doubt, use both or use the -C command line switch to
|
|---|
| 68 | force UNZIP to ignore case.
|
|---|
| 69 | :p.
|
|---|
| 70 | I'm told there's a bug in some versions of 4OS2 that can cause
|
|---|
| 71 | a call to an archiver to fail if the archiver has an extension (i.e.
|
|---|
| 72 | UNZIP works, UNZIP.EXE doesn't). If things fail for no apparent reason
|
|---|
| 73 | and you're using 4OS2 you might keep it in mind.
|
|---|
| 74 |
|
|---|
| 75 | :h2 res=90300 name=PANEL_ARCHIVE.Build an archive
|
|---|
| 76 | :i1 id=aboutArchive.Build an archive
|
|---|
| 77 | :artwork name='..\..\bitmaps\archive.bmp' align=center.
|
|---|
| 78 | :p.
|
|---|
| 79 | To build an archive, select some files, then select :hp1.Archive:ehp1.
|
|---|
| 80 | from a context menu. You can add files to an existing archive by
|
|---|
| 81 | link-dragging them onto the archive object, or dragging them onto an
|
|---|
| 82 | :hp1.:link reftype=hd res=90200.Archive Container:elink.:ehp1. window.
|
|---|
| 83 | :p.
|
|---|
| 84 | FM/2 will ask you for the type of the archive by presenting you with a
|
|---|
| 85 | listbox from which to pick an archiver.
|
|---|
| 86 | After that, another dialog appears to let you modify how the archive that
|
|---|
| 87 | will be created. Additional masks may be entered (remember that some versions
|
|---|
| 88 | of ZIP and UNZIP programs are case sensitive), the archiver command line
|
|---|
| 89 | tweaked, and so forth. Click :hp1.Okay:ehp1. to create the archive, or
|
|---|
| 90 | :hp1.Cancel:ehp1. if you change your mind.
|
|---|
| 91 | :p.
|
|---|
| 92 | Note that the archive name may be an existing archive, in which case
|
|---|
| 93 | it's modified by adding the new files. If some of the files are
|
|---|
| 94 | already in the archive, they're replaced.
|
|---|