source: trunk/dll/ipf/archive.ipf@ 1036

Last change on this file since 1036 was 552, checked in by Gregg Young, 19 years ago

font cleanup; new image and archiver masks; messages moved to string file; new drive flags including David's icons mostly working

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.5 KB
Line 
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.
19To extract from an archive, select the archive(s), then select
20:hp1.Extract:ehp1. from a context menu.
21:p.
22FM/2 presents you with a dialog that allows you to select the method of
23extraction. :hp1.Normal:ehp1., the default, will extract all the files in the archive
24to the extract directory without any paths which may be present in the archive.
25This can create a problem if the archive contains files of the same name in
26different paths (i.e. the last of theses files extracted will over write the
27ones extracted earlier). :hp1.With Paths:ehp1. will extract the archive including the
28any 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
30select the other option on a one time basis without change the default for future archives.
31If you only wish to extract certain files you can select masks (i.e *.txt) for the files
32you wish to extract. The command line box allows you to change or add extraction options.
33See the help files for your archiver (e.g. zip.exe) for more information.
34You can select the extraction directory (the directory to which the files will be extracted.
35The default is the current directory or you can set a specific directory as the on
36the Archiver page of the Setting Notebook. You can use the :hp1.Walk:ehp1. button
37find the directory you wish to extract to or you can type a path directly into the listbox.
38If the path you type in doesn't exist FM/2 will offer to create it for you.
39You can also drag file system objects onto the Extract Directory entryfield
40to set the extraction directory.
41:p.
42If you check the :hp1.Remember...:ehp1. checkbox, this dialog will
43remember some of its settings for the next time you use it. Uncheck
44it and it'll forget them and use the defaults.
45:p.
46Click :hp1.Okay:ehp1. to begin extracting from the archive, or
47:hp1.Cancel:ehp1. if you change your mind.
48:p.
49You can also extract files from the archive in the :link reftype=hd
50res=90200.Archive Container:elink. window using that window's menus;
51double-click an archive file in an FM/2 main window to view the
52archive listing.
53:p.
54Notes&colon.
55:p.
56I have a copy of ARC.EXE here that's 'broken' in that it won't extract
57files unless given a DOS filemask (for instance, to extract all files
58you 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
60everything, which every other archiver in the world understands.
61:p.
62The ZIP/UNZIP programs are case sensitive even though OS/2 itself is
63not, so, for example, trying to extract "*.PKT" when the file inside the
64archive is "01234567.pkt" will fail to extract the file -- you'd have to
65use "*.pkt". If in doubt, use both or use the -C command line switch to
66force UNZIP to ignore case.
67:p.
68I'm told there's a bug in some versions of 4OS2 that can cause
69a call to an archiver to fail if the archiver has an extension (i.e.
70UNZIP works, UNZIP.EXE doesn't). If things fail for no apparent reason
71and 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.
77To build an archive, select some files, then select :hp1.Archive:ehp1.
78from a context menu. You can add files to an existing archive by
79link-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.
82FM/2 will ask you for the type of the archive by presenting you with a
83listbox from which to pick an archiver.
84After that, another dialog appears to let you modify how the archive
85will be created. Additional masks may be entered (remember that the ZIP
86and UNZIP programs are case sensitive), the archiver command line
87tweaked, and so forth. Click :hp1.Okay:ehp1. to create the archive, or
88:hp1.Cancel:ehp1. if you change your mind.
89:p.
90Note that the archive name may be an existing archive, in which case
91it's modified by adding the new files. If some of the files are
92already in the archive, they're replaced.
Note: See TracBrowser for help on using the repository browser.