1 | .***********************************************************************
|
---|
2 | .*
|
---|
3 | .* $Id: archive.ipf 552 2007-03-01 06:24:47Z 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. Refgardless of which method is the default you may
|
---|
30 | select the other option on a one time basis without change 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 on
|
---|
36 | the Archiver page of the Setting Notebook. You can use the :hp1.Walk:ehp1. button
|
---|
37 | find the directory you wish to extract to or you can type a path directly into the listbox.
|
---|
38 | If the path you type in doesn't exist FM/2 will offer to create it for you.
|
---|
39 | You can also drag file system objects onto the Extract Directory entryfield
|
---|
40 | to set the extraction directory.
|
---|
41 | :p.
|
---|
42 | If you check the :hp1.Remember...:ehp1. checkbox, this dialog will
|
---|
43 | remember some of its settings for the next time you use it. Uncheck
|
---|
44 | it and it'll forget them and use the defaults.
|
---|
45 | :p.
|
---|
46 | Click :hp1.Okay:ehp1. to begin extracting from the archive, or
|
---|
47 | :hp1.Cancel:ehp1. if you change your mind.
|
---|
48 | :p.
|
---|
49 | You can also extract files from the archive in the :link reftype=hd
|
---|
50 | res=90200.Archive Container:elink. window using that window's menus;
|
---|
51 | double-click an archive file in an FM/2 main window to view the
|
---|
52 | archive listing.
|
---|
53 | :p.
|
---|
54 | Notes&colon.
|
---|
55 | :p.
|
---|
56 | I have a copy of ARC.EXE here that's 'broken' in that it won't extract
|
---|
57 | files unless given a DOS filemask (for instance, to extract all files
|
---|
58 | you need to enter *.* (not *) in the masks field). FM/2 normally gives
|
---|
59 | :hp2.no:ehp2. filemasks as the argument when you want to extract
|
---|
60 | everything, which every other archiver in the world understands.
|
---|
61 | :p.
|
---|
62 | The ZIP/UNZIP programs are case sensitive even though OS/2 itself is
|
---|
63 | not, so, for example, trying to extract "*.PKT" when the file inside the
|
---|
64 | archive is "01234567.pkt" will fail to extract the file -- you'd have to
|
---|
65 | use "*.pkt". If in doubt, use both or use the -C command line switch to
|
---|
66 | force UNZIP to ignore case.
|
---|
67 | :p.
|
---|
68 | I'm told there's a bug in some versions of 4OS2 that can cause
|
---|
69 | a call to an archiver to fail if the archiver has an extension (i.e.
|
---|
70 | UNZIP works, UNZIP.EXE doesn't). If things fail for no apparent reason
|
---|
71 | and you're using 4OS2 you might keep it in mind.
|
---|
72 |
|
---|
73 | :h2 res=90300 name=PANEL_ARCHIVE.Build an archive
|
---|
74 | :i1 id=aboutArchive.Build an archive
|
---|
75 | :artwork name='..\..\bitmaps\archive.bmp' align=center.
|
---|
76 | :p.
|
---|
77 | To build an archive, select some files, then select :hp1.Archive:ehp1.
|
---|
78 | from a context menu. You can add files to an existing archive by
|
---|
79 | link-dragging them onto the archive object, or dragging them onto an
|
---|
80 | :hp1.:link reftype=hd res=90200.Archive Container:elink.:ehp1. window.
|
---|
81 | :p.
|
---|
82 | FM/2 will ask you for the type of the archive by presenting you with a
|
---|
83 | listbox from which to pick an archiver.
|
---|
84 | After that, another dialog appears to let you modify how the archive
|
---|
85 | will be created. Additional masks may be entered (remember that the ZIP
|
---|
86 | and UNZIP programs are case sensitive), the archiver command line
|
---|
87 | tweaked, and so forth. Click :hp1.Okay:ehp1. to create the archive, or
|
---|
88 | :hp1.Cancel:ehp1. if you change your mind.
|
---|
89 | :p.
|
---|
90 | Note that the archive name may be an existing archive, in which case
|
---|
91 | it's modified by adding the new files. If some of the files are
|
---|
92 | already in the archive, they're replaced.
|
---|