home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 035 / inimaint.zip / MLTMAINT.TXT < prev    next >
Text File  |  1994-10-12  |  39KB  |  749 lines

  1.                          MultiMaint
  2.               Copyright 1993, 1994 by Carry Associates
  3.  
  4. MultiMaint is an OS/2 PM program to display and manage *.INI files,
  5. all Extended Attributes and provide for both a snapshot and portable
  6. backup of the Desktop. It is distributed by Carry Associates, 990
  7. Ironwood Court, Marco Island, FL, 33937-4458. Telephone number is
  8. 813-642-9126. The application was written by and is supported by
  9. Larry J. Martin. You can obtain Technical support by calling the
  10. number above, by leaving an Email on Compuserve for 72662,3616 or for
  11. the same ID in the OS2AVEND Forum Section 1.
  12.  
  13. MultiMaint is an upgrade to SysMaint that adds the ability to create
  14. a 'portable' object by object backup of the Desktop that can be used
  15. to recreate the Desktop on a different machine or on a different
  16. version of OS/2 where the Desktop customization was lost because it
  17. was necessary to reformat the Harddisk.
  18.  
  19. SysMaint is an extension of IniMaint and shares many of the same
  20. files with IniMaint. Therefore, some of the discussion below will
  21. appear to apply to IniMaint rather than SysMaint. However, because of
  22. the close relationship between the two programs, the discussion
  23. applies to both programs. SysMaint and IniMaint also share some
  24. common files such as documentation files, the same help file and the
  25. same API DLL. In order to ease compatibility problems with those who
  26. are using IniMaint, these common files will still start with ini...
  27. rather than the expected mlt....
  28.  
  29. The cost for MultiMaint is $69.95 for a single user license and $699.00
  30. for an unlimited corporate license. There is a $7.00 shipping and
  31. handling charge to ship a diskette.  Payment can be made via a check
  32. drawn on a US bank, we will invoice against a corporate purchase
  33. order or we will charge either a Visa or MasterCard credit card.
  34.  
  35. If you are already a licensed owner of SysMaint you can upgrade to
  36. MultiMaint for $15.00, if you purchased it before the GA release of
  37. MultiMaint, and for $25.00 if you purchased it after that date.
  38.  
  39. If you are already a licensed owner of IniMaint you can upgrade to
  40. MultiMaint for $30.00, if you purchased it before GA release of
  41. MultiMaint, and for $45.00 if you purchased it after that date.
  42.  
  43. All of the upgrade amounts above are for a single license, the cost
  44. to upgrade a corporate license is 10 times the appropriate single
  45. license fee.
  46.  
  47. When MultiMaint extracts the Extended Attributes from a file or
  48. directory, the Extended Attributes are placed in a file that has an
  49. internal structure and organization that is very similar to the OS/2
  50. INI files. Therefore, when the user is viewing a set of Extended
  51. Attributes, the appearance of the information is very similar to what
  52. you would see when editing an INI file. This makes the discussions
  53. below, which often refer to INI files, equally applicable to files
  54. which contain Extended Attributes.
  55.  
  56. WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
  57.  
  58. MultiMaint gives you the ability to make virtually any change you want
  59. to any of the INI files or any of the Extended Attributes in your
  60. OS/2 environment. Making changes to these files must be done with
  61. care because you can do serious and unpredictable damage to your
  62. environment. It is STRONGLY SUGGESTED that you insure that you have a
  63. usable backup of any INI file or Extended Attribute that you modify in
  64. any way.
  65.  
  66. WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
  67.  
  68. The enclosed is Version 3.2a of MultiMaint and has the following known
  69. problems and/or incomplete features:
  70.  
  71. 1. The Initial Dialog cannot be dismissed using the Enter Key, the
  72. Mouse must be used.
  73.  
  74. 2. If the Groups Dialog is displayed, a new Group is selected and
  75. then OK is selected without actually making any changes to any of the
  76. Groups or the Applications in a Group, then the Last Group Displayed
  77. is not updated and a subsequent use of the Groups Dialog will revert
  78. back to the previous Last Group.
  79.  
  80. 3. There is no Help available for the standard OS/2 New File Dialog.
  81.  
  82.  
  83.                  REPORTED COMMENTS OR PROBLEMS
  84.  
  85. The following items are problems that have been reported, but cannot
  86. be reproduced or comments that I have received from one or more
  87. users. Any assistance on the problems or additions to the comments is
  88. more than welcome.
  89.  
  90. 1. It was pointed out that although the Cursor in the Value MLE can
  91. be an Insert Cursor, there is no way to Insert information. My
  92. response is that the only way to change the length of a Value is by
  93. using the Replace Value Dialog because changing the expected length
  94. of an INI Key Value can cause unusual and unexpected errors. I
  95. further responded that the only way to change the cursor is to
  96. change it System wide, therefore, changing it only when it is in the
  97. MLE is a non trivial problem and I have not attempted to do it even
  98. though it leaves the apparent conflict between the appearance of the
  99. Cursor and the actual effect when a key is depressed.
  100.  
  101.                         INSTALLATION
  102.  
  103. To install the this version you must:
  104.  
  105. 1. Run the INSTALL.CMD file that is on the supplied diskette and
  106. follow the instructions.
  107.  
  108. 2. Once all of the files have been copied, the AcsTest.EXE file
  109. should be run to verify that the AccessWPS system is correctly
  110. installed and will run on your system. Simply run the program and you
  111. will hear a series of rising tones, a window will appear and a series
  112. of messages will appear in the window. If the AcsTest program runs
  113. correctly, it will be very obvious from the messages. Use the Close
  114. item on the System menu to terminate AcsTest and you will hear a
  115. falling series of tones. This will verify that AccessWPS is okay for
  116. use.
  117.  
  118. 3. You may optionally add MultiMaint to one of the Groups on your
  119. Desktop.
  120.  
  121. 4. You may optionally add the entry: SET INIMAINT= to your CONFIG.SYS
  122. file specifying the path and filename of an INI file that you want
  123. MultiMaint to use to store it's operational information. If this entry
  124. is not found in the Environment, MultiMaint will store it's operational
  125. information in the OS2.INI file.
  126.  
  127.                      GETTING STARTED
  128.  
  129. If you did not obtain your copy of MultiMaint to address a specific
  130. problem or you are not familiar with INI files, Extended Attributes
  131. and the kinds of things that MultiMaint allows you to do with them,
  132. then it is strongly suggested that you review the Getting Started
  133. entry in the Help file along with the other General Help subjects.
  134.  
  135.  
  136.  
  137.                     VALIDATING INSTALLATION
  138.  
  139. Once the DLL's and the AcsTest program have been installed, it is
  140. suggested that the AcsTest program be run to verify that everything
  141. is working correctly. The AcsTest program has no command line
  142. parameters and, if everything is working correctly it will:
  143.  
  144. 1. Sound a rising series of tones that indicate the program
  145. is starting.
  146.  
  147. 2. A window will appear with a Listbox as the Client area.
  148.  
  149. 3. You will see a series of messages that will appear as the test
  150. program goes through it's cycle. There should be no messages that
  151. indicate that any of the functions was completed unsuccessfully.
  152.  
  153. 4. There will normally be a delay of a few seconds from the time you
  154. see the message that the creation of the Agent Object is starting and
  155. the message that it is complete. This is because the AcsAgent and
  156. Accsswps DLL's are loaded at this point.
  157.  
  158. 5. Once the Object is created. You will see a line with the Version
  159. information on it. If there are any problems, you might be asked for
  160. this version information, so it is worth while noting it.
  161.  
  162. 6. Once the version information has been displayed, several lines of
  163. internal variable information will be displayed. These are the
  164. internal variables for both the Agent Object and the AccssWPS module.
  165. This is done primarily to give the developer some idea of the kind of
  166. information that is returned when the dump lines are requested. It
  167. also provides a sample of how to get the dump information, since the
  168. source code for the AcsTest program is now included in the package.
  169.  
  170. 7. To terminate the AcsTest program, simply use the Close entry on
  171. the System Menu. You will hear a falling series of tones as the
  172. program terminates indicating that the termination was successful.
  173.  
  174. 8. If there is any error during the execution of AcsTest, you will
  175. see the error message surrounded by several lines of asterisks. In
  176. addition, you will see an error message telling you that the test was
  177. not successful at the very end of the display. If you do not see the
  178. error lines at the end of the display, then the test was successful.
  179.  
  180. 9. There are two common errors that can occur because of some sort of
  181. problem installing and/or running AccessWPS. The error codes are
  182. 10200 and 10201. If you see either of these errors during the running
  183. of the test, simply run the test a second time and it should work
  184. without an error. If you get the error two times in a row, then there
  185. is no reason to try any further.
  186.  
  187.  
  188.                  WHAT ARE SAFE BACKUP AND RESTORE?
  189.  
  190. The current version of WPS does not supply all of the methods that
  191. are necessary to Save and Restore all of the pieces of information
  192. that make up an Object. IBM has promised that this will be fixed in a
  193. new release of WPS, but there is no timetable.
  194.  
  195. If you select Safe Save, then only the 'official' methods will be
  196. used to save the instance information for each Object. This will not
  197. be a complete set of instance information. If you do not select Safe
  198. Save, then all of the instance information on an Object will be
  199. saved. The extra information is collected using publicly available
  200. WPS and SOM methods, however, some of them are used in ways that were
  201. not originally thought of by the developers inside of IBM.
  202.  
  203. If you select Safe Restore, then only the instance information that
  204. can be Restored using the 'official' methods will be Restored. Even
  205. if additional information was collected by not using the Safe
  206. this information will be ignored and no attempt will be made to fully
  207. update the Object. If Safe Restore is left off and Safe Save was also
  208. left off, then all of the instance information for the Restored
  209. Objects will be set. Just as with the Save above, public WPS and SOM
  210. methods are used, they are just used in unusual ways.
  211.  
  212. One problem that is caused by the Restore when Safe Restore is not
  213. used is that the settings for the Object and the instance information
  214. that is in the Extended Attributes and the OS2.INI file are not in
  215. synch with each other. It is possible to force the Objects to reload
  216. the instance information from where it is stored, but the Objects
  217. think they know what they are going to get back, but they sometimes
  218. get back something different and this causes problems. Therefore, if
  219. you choose to not use the Safe Restore, the Desktop is reset when the
  220. Restore Dialog is dismissed. This causes all the Objects to start
  221. from scratch and will leave all of them in synch. It might be
  222. possible in the future to bypass this step, but I do not know how to
  223. do it right now.
  224.  
  225.  
  226.                         OPERATION
  227.  
  228. To run MultiMaint simply start it by clicking on the MultiMaint.EXE file
  229. or start it from the Group to which it has been added. When MultiMaint
  230. first comes up, it will default to editing the INI file that is
  231. identified by the system as the user INI file. This is normally
  232. C:\OS2\OS2.INI. The name of the current file is always displayed in
  233. the TITLE bar of the main window.
  234.  
  235. MultiMaint can also be started with an initial INI file specified on
  236. the command line. This allows MultiMaint to be started with a new file
  237. by using the command line, but also allows for it to be started by
  238. dropping a file on the ICON on the desktop or double clicking on an
  239. INI file, once the association is set up.
  240.  
  241. MultiMaint will locate the window in a default location, but you can
  242. move and or size the window as you choose. When MultiMaint is shut
  243. down, it will remember the file that it was currently working with as
  244. well as the size and location of the window and will restore all of
  245. these the next time it is run.
  246.  
  247. There are a number of MultiMaint functions which will take some time
  248. to execute. For example, the maximum length Key Value that MultiMaint
  249. will load into the Key Value Window is 60,000 bytes. Since each line
  250. only displays 8 bytes, this comes to 7,500 lines and it takes well
  251. over a minute. There are other similar types of functions, although
  252. the example is the longest. During these long operations, it is not
  253. possible to do any other MultiMaint operations. However, the long
  254. functions are done in separate threads and the Message Queue is not
  255. blocked, therefore it is possible to go do some other, non-MultiMaint,
  256. function during this time. In addition, since there are a number of
  257. reasons why a user might not want to wait until the lengthy function
  258. is completed, for example, it might have been selected in error,
  259. any MultiMaint operation that takes a long time and displays the Wait
  260. Pointer can be terminated by hitting the ESC key.
  261.  
  262. MultiMaint will normally store the current operating information such
  263. as the size and position of the windows, that INI file that is
  264. currently being edited and a large number of other items, in the User
  265. INI file, OS2.INI. This is sometimes not a convenient location, since
  266. this file gets completely replaced when a new version is installed
  267. and a problem with the OS2.INI file would mean that MultiMaint would
  268. not run. MultiMaint will use a different INI file and will create the
  269. file, if necessary, if an Environment Variable MultiMaint= is placed in
  270. the CONFIG.SYS file or in a CMD file that executes MultiMaint. For
  271. example, if the user wanted MultiMaint to use the file MultiMaint.INI in
  272. the C:\OS2\APPS subdirectory, they would code:
  273.     SET INIMAINT=C:\OS2\APPS\MultiMaint.INI
  274.  
  275.                    MAIN WINDOW DESCRIPTION
  276.  
  277. The Main Window contains three standard child windows. Two of these
  278. windows are Listboxes and the third is a MLE.
  279.  
  280. The upper left Listbox will always contain the list of Applications
  281. for the current INI file or Current set of Extended Attributes.
  282.  
  283. The upper right Listbox will contain the list of Key Names for the
  284. Application that is currently selected in the Application Listbox.
  285.  
  286. The MLE, at the bottom, will contain the hex and ASCII display of the
  287. contents of the Key Name that is selected in the Key Listbox.
  288.  
  289. The Cursor will normally be forced to the MLE and the value of the
  290. data can be modified by changing either the hex or the ASCII fields
  291. of the MLE. The cursor cannot be moved to any portion of the MLE that
  292. does not contain data that can be modified and any modification to
  293. one type of data, hex or ASCII, will immediately be reflected in the
  294. other data.
  295.  
  296. The actual data in the INI or Extended Attribute file is not changed
  297. until the user selects the Update Item on the Action Menu or selects
  298. a different Key or Application in the same INI or Extended Attribute
  299. file. At this time, you will be asked to confirm that you want the
  300. INI or Extended Attribute file modified, unless you have turned the
  301. warning option off, see below.
  302.  
  303.                  MultiMaint POPUP MENUS
  304.  
  305. In addition to the standard menu entries described below, each window
  306. has a Popup Menu that will appear when the standard action is taken,
  307. clicking once with the Right Mouse Button is the default. Each of the
  308. three primary windows has its own Menu and the Menu will contain those
  309. items which are general to the entire Application and those that
  310. apply to the entries in that particular window. Most of the items on
  311. these menus are discussed below, however, there are three items on
  312. each menu that are unique to the Popup Menus and they are:
  313.  
  314. 1. Explain will attempt to give the user an explanation of the
  315. meaning of the currently selected Application and Key. Not every
  316. Application will have an explanation, but an attempt has been made to
  317. explain all of the standard OS/2 entries as completely as possible.
  318.  
  319. 2. Write Window to a File will cause the entries in the window in
  320. question to be written to a file, so they could be reviewed without
  321. MultiMaint running.
  322.  
  323. 3. Print Window will cause the entries in the Window to be printed on
  324. the default printer.
  325.  
  326.                  MultiMaint MENU OPTIONS
  327.  
  328. The various MultiMaint Menu options are:
  329.  
  330. 1. File gives the user the ability to change INI or Extended Attribute
  331. files, refresh the current INI or Extended Attribute file, Dump the
  332. contents of the MultiMaint variables, compare two INI or Extended
  333. Attribute files and Exit from MultiMaint.
  334.  
  335. The Compare option allows the user to Compare two INI or Extended
  336. Attribute files on any one of three different levels:
  337.  
  338.    A. List Applications that are in one INI or Extended Attribute file,
  339.       but not the other.
  340.  
  341.    B. A. above plus any Key Names that are in one file, but not the
  342.       other.
  343.  
  344.    C. A. and B. above plus any Key Values that are in both files, but
  345.       are not equal.
  346.  
  347. The differences are displayed in a Listbox within a Dialog that
  348. allows the user to print or write a listing of the Listbox contents
  349. and/or create an INI or Extended Attribute file with some or all of
  350. the Applications or Keys that have differences.
  351.  
  352. 2. Options will display a Dialog that gives you the ability to:
  353.  
  354.    A. Turn off the display of the opening MultiMaint Dialog.
  355.  
  356.    B. Turn off the dialogs that will ask for confirmation before
  357.       Deleting or Modifying the contents of the Current INI or
  358.       Extended Attribute file.
  359.  
  360. 3. Groups will display a Dialog that allows you to define and manage
  361. the various Groups for this INI or Extended Attribute file. A bit of
  362. explanation is needed here. MultiMaint gives the user the ability to
  363. arrange the applications in any INI or Extended Attribute file into
  364. Groups. These Groups can then be used in a number of different
  365. MultiMaint areas and greatly ease the problems of handling an INI or
  366. Extended Attribute file with a large number of applications. For
  367. example, the OS2.INI or Extended Attribute file might be divided into
  368. two Groups, System and Private. The System Group would be the
  369. applications put in the file by OS/2 Install and the Private Group
  370. would be the remaining applications. More or fewer Groups could be
  371. defined. How the user can use Groups within the MultiMaint structure
  372. will become more clear below. The Groups Dialog gives the user the
  373. ability to define new Groups, to add and delete Applications and
  374. Delete Groups.
  375.  
  376. The procedure for establishing a new Group is to select Groups in the
  377. Group Dialog, select New Group, and supply a name. Once this is done,
  378. the Title of the Dialog will show the current Group and the new Group
  379. will be added to the Group Menu. You add Applications to the Group by
  380. selecting them in the Listbox.
  381.  
  382. The Listbox will display a specific Group or, if you want to know if
  383. there are any Applications that are not in a Group, will display all
  384. Groups. A single Application can be a member of up to 5 different
  385. Groups at any one time, so it is possible to define overlapping
  386. Groups.
  387.  
  388. 4. Size will calculate the minimum amount of Disk Space that would be
  389. required for an INI or Extended Attribute file that contained a
  390. selected set of Applications in the current INI or Extended Attribute
  391. file. When this item is selected, the user will be asked what he
  392. wants to Size. There will always be several choices, the various
  393. standard INI or Extended Attribute files, the current file and the
  394. currently selected Application. If there are any Groups defined, then
  395. they will be included among the selections. If there are more than
  396. one Group defined, then there will be an All Groups selection.
  397.  
  398. 5. Actions gives the user the ability to do a number of things:
  399.    A. Update Current Key will write any changes that have been made
  400.       to the data in the MLE into the current INI or Extended Attribute file.
  401.  
  402.    B. Delete Application and Delete Key will do the obvious.
  403.  
  404.    C. Add Application, Add Key and Replace Key Value are all the same
  405.       function except entered at different points. Add Application
  406.       will ask for the name of a new Application to add to the
  407.       current INI or Extended Attribute file and then fall through to
  408.       the Add Key, since the Applications must have at least one Key.
  409.       The Add Key will ask for the name of the new Key and then fall
  410.       through to the Replace Key Value, since any Key Name must have
  411.       an associated Value. This will cause the Key Dialog box to be
  412.       displayed. The Application and Key Names will be shown at the
  413.       top of the Dialog, followed by the current length of the data,
  414.       the ASCII representation of the data and the hex representation of
  415.       the data. This is the only option that will change the length of
  416.       a Key Value. Care must be taken when doing this, as many
  417.       applications depend on knowing the length of the INI items. As
  418.       the ASCII or hex values are changed, the changes will appear in
  419.       the other window and the length will be updated. The only
  420.       exception is when only a single hex digit is entered. The ASCII
  421.       window is not updated until two hex characters are entered.
  422.  
  423.    D. Rename and Duplicate Key give the user the ability to change
  424.       the name of an existing Key or to make a duplicate copy of the
  425.       Key using a different Key Name.
  426.  
  427.    E. Copy and Move will ask the user to select a Target File for the
  428.       Copy/Move and will then give the user the same choices as Size
  429.       above. The selected Applications will then be moved or copied
  430.       to the Target INI or Extended Attribute file, which will be created, if it does not
  431.       exist. This function is done Key by Key, so it will sometimes
  432.       take some time. However, the PM message queue is not blocked
  433.       while the move/copy is being done. The actual move or copy is
  434.       done by a separate program INICOPY, that can also be run as a
  435.       batch program, see below.
  436.  
  437.    F. Backup allows for an easy Backup of the System INI file, User 
  438.       INI file or both the System and User INI files. Once the user
  439.       has selected names for the normal backups for the two files,
  440.       these files will be presented as the default for additional
  441.       backups. The user can set an Option that will bypass asking
  442.       the user if he wants to use the defaults. This selection will
  443.       always delete the target files before doing the backup, which
  444.       is one of the ways it varies from the Copy selection.
  445.  
  446. 6. Recover contains a list of capabilities designed to give the user
  447. the ability to recover from corrupted INI or Extended Attribute files.
  448. These capabilities are:
  449.  
  450.    A. Change User and/or System INI files give the user the ability
  451.       to change the INI files that OS/2 is currently using to new
  452.       files. The primary use of this capability is to allow the user
  453.       to make changes to the User or System INI files that he knows
  454.       need to be made, but cannot make to the current User or System
  455.       Files because of protection built into OS/2. Great care must be
  456.       exercised when doing this, but it will sometimes represent the
  457.       only way that problem entries can be removed from an INI file.
  458.  
  459.    B. Repair inconsistencies between the INI files and the Desktop.
  460.  
  461.    C. Condense the Current INI file, the System INI file, the User
  462.       INI file or both the System and User INI files. The Condense
  463.       is necessary because of the way updating is done to the INI
  464.       files. The updating will leave empty areas in the INI files and
  465.       these areas tend to get fragmented, thus causing the overall
  466.       size of the INI file to grow, sometimes grow very large.
  467.       Condensing the System or User INI files is not a simple task,
  468.       since they cannot be copied or erased while they are being used
  469.       by OS/2. This item switches the files to the copies long enough
  470.       to erase the old files and copy a condensed backup to the
  471.       original names. The only problem this causes is that it will
  472.       reset the desktop to the boot desktop. This function is removed
  473.       for Version 2.1 of OS/2 and beyond, since the handling of the
  474.       INI files was changed to automatically remove the empty space.
  475.  
  476.    D. There are two items to Test for and Reset the condition where
  477.       the User and System INI files cannot be updated. When this
  478.       condition is found, the user will be asked if he wants to 
  479.       correct the condition and, if he answers yes, the User and
  480.       System INI files will get changed so that they will be able
  481.       to be updated. The process involves making a copy of the INI
  482.       files and switching to them, so it takes a minute or so and
  483.       involves resetting the Desktop.
  484.  
  485. 7. Find allows the user to search the Application Listbox, the Key
  486. Name Listbox, the Key Value MLE, all of the Key Names in the current
  487. INI or Extended Attribute file, all of the Key Values for the current
  488. Application or all of the Key Values in the current INI or Extended
  489. Attribute file for either an Ascii string or a Hex value.
  490.  
  491. 8. The Desktop menu has a number of entries that are associated with
  492. the maintenance of the Desktop.
  493.  
  494.    A. A Defaults Dialog that allows the user to set various Default
  495.       entries and values for the Desktop Items.
  496.  
  497.    B. Reset Desktop will simply reset WPS and is normally used for
  498.       testing purposes. However, there are certain kinds of manual
  499.       changes that can be made to the OS2.INI and OS2SYS.INI files
  500.       that require that the WPS be reset in order for them to become
  501.       effective and this entry will accomplish the reset.
  502.  
  503.    C. Backup Desktop will make a Simple Backup of the Desktop. This
  504.       menu item will maintain the number of backup generations
  505.       currently specified in the Desktop Defaults.
  506.  
  507.    D. Create Backup CMD file will generate a CMD file using the name
  508.       that is specified in the Defaults Dialog and generate a CMD
  509.       file that will create a Simple Backup of the Desktop, including
  510.       maintenance of the number of generations that are specified in
  511.       the Defaults.
  512.  
  513.    E. Create Restore CMD File will create a CMD file that can only be
  514.       run when the PM Shell and WPS are not active, such as after a
  515.       boot from a diskette. This CMD file will accept a generation
  516.       number as a parameter and, if no generation is specified, will
  517.       default to generation 01, tell the user that the default is
  518.       being used and only do the restore with the default if the user
  519.       hits the enter key.
  520.  
  521.    F. Restore the Desktop ID will fix the problem where the Desktop
  522.       Menu has lost the items which are unique to the Desktop, such
  523.       as Shutdown. This condition is caused by a problem in the
  524.       Extended Attributes for the Desktop Directory and this menu
  525.       item will fix that problem.
  526.  
  527.    G. Restore Desktop Directory will restore the Desktop Directory
  528.       structure from any one of the generations of Simple Backup
  529.       files created by the Backup facilities of MultiMaint. While this
  530.       can be done while WPS and PM are active, it can cause a problem
  531.       if there is anything else running at the time.
  532.  
  533.    H. Restore Desktop INI Files is similar to the item above, except
  534.       it will restore the OS2.INI and OS2SYS.INI files from the 
  535.       backup. Once again, it can be done while WPS and PM are active
  536.       but problems can occur if other things are running while this
  537.       restore is being done.
  538.  
  539.    I. Portable Backup Defaults will display a dialog that allows the
  540.       user to customize the options used during the Portable backup
  541.       and Restore activities.
  542.  
  543.    J. Create Portable Backup will do just that, create 4 files that
  544.       represent a portable backup of the current desktop. One of the
  545.       files is a copy of the OS2.INI file, one is a copy of the
  546.       OS2SYS.INI file, one contains the Desktop Extended Attributes
  547.       and the last one contains the Desktop Object information.
  548.  
  549.    K. Do Portable Restore will, eventually, use the Portable Backup
  550.       to do a partial or complete restore of the Desktop.
  551.  
  552. 9. Extended Attributes is the menu used to access Extended Attributes
  553. for a file, directory or a group of files and/or directories. The
  554. menu structure has two levels. The first selection is the function
  555. desired and this will cause a second menu to appear which will allow
  556. selection of which files and/or directories the function should apply
  557. to. All of these are described more completely in the on-line help
  558. files.
  559.  
  560. Many of the Extended Attribute functions involve taking the Extended
  561. Attributes from one set of files and/or directories and adding them
  562. to another set of files and/or directories. In order to do this,
  563. MultiMaint must have a way of deciding which files and directories
  564. match each other. The basic way this is done is by removing the base
  565. information from each path and doing the compare on the remainder of
  566. the name. For example, if the Extended Attributes for all of the
  567. files and directories in the C:\OS2\SOURCE directory were to be
  568. copied to the D:\TARGET directory, then the file
  569. C:\OS2\SOURCE\FILE.NME would be determined to match
  570. D:\TARGET\FILE.NME and the Extended Attributes for the FILE.NME file
  571. would be copied from one file to the other. In addition, the
  572. directory C:\OS2\SOURCE\SUBDIR1 would be determined to match
  573. D:\TARGET\SUBDIR1 and the directory Extended Attributes would be
  574. copied from one directory to the other.
  575.  
  576. Aside from the functions that act on the Extended Attributes, there
  577. are a few utility functions on this menu:
  578.  
  579.    A. Defaults will present a Dialog box that allows the user to set the
  580.       various defaults for the Extended Attribute menu operations.
  581.  
  582.    B. Describe Current File will tell the user the selection criteria
  583.       used to create the set of Extended Attributes that are currently
  584.       being displayed in the window. This information is kept in special
  585.       control areas of the file and is not visible, thus the need to give
  586.       the user some way of verifying the source for the current set of
  587.       Extended Attributes.
  588.  
  589.    C. Update From Current File will use the Extended Attribute
  590.       information in the currently displayed file and the internal control
  591.       information to Join the displayed Extended Attribute information to
  592.       the files and/or directories from which it was extracted. For
  593.       example, if a user want to modify the Extended Attributes for some
  594.       files and/or directories they would use View to extract the Extended
  595.       Attributes to a temporary file, use the normal editing capabilities
  596.       to make the desired modifications and then use Update to replace the
  597.       Extended Attributes for the files and/or directories.
  598.  
  599. The available functions are:
  600.  
  601.    A. View allows the user to view and, if desired, modify the Extended
  602.       Attributes.
  603.  
  604.    B. Test will examine the Extended Attributes for the selected set of
  605.       files and/or directories and present a window that will tell the user
  606.       whether the Extended Attributes are valid or invalid.
  607.  
  608.    C. Save will copy the Extended Attributes to a save file which can
  609.       later be used to View the Extended Attributes or can be used to Join
  610.       them back to the original files and/or directories.
  611.  
  612.    D. Copy will Copy the Extended Attributes from one set of files
  613.       and/or directories to another set of files or directories. The
  614.       Extended Attributes of the original files are not modified. The
  615.       Extended Attributes will be attached to files and/or directories on
  616.       the Target based on the name matching algorithm described above.
  617.  
  618.    E. Move does exactly the same thing as the Copy does with the
  619.       exception that the Extended Attributes for the Source files and/or
  620.       directories will be deleted.
  621.  
  622.    F. Split does the same as Move, except the Extended Attributes are
  623.       added to a file that can be Viewed or used to Join the Extended
  624.       Attributes to another set of files and/or directories.
  625.  
  626.    G. Join takes the Extended Attributes in a Saved, or Split file and
  627.       rejoins them to the files and/or directories selected. If the
  628.       Extended Attributes are not Joined to the original files and/or
  629.       directories, then the matching algorithm above will be used to
  630.       determine which files and/or directories to update.
  631.  
  632.    H. Compare will compare the Extended Attributes for one set of files
  633.       and/or directories to those for another set of files and/or
  634.       directories. The matching algorithm described above is used to
  635.       determine which sets of files and/or directories should be compared
  636.       to each other.
  637.  
  638.    I. Compare to Saved EAs will compare the Extended Attributes for a
  639.       set of files and/or directories to the Extended Attributes in a Saved
  640.       or Split EA file. This can be used to see what kind of changes were
  641.       made to the Extended Attributes for a set of files and/or directories
  642.       because of some action on the Desktop.
  643.  
  644. Once the function is selected, the list of what type files and/or
  645. directories the function should apply to is presented. These
  646. selections and their effects are:
  647.  
  648.    A. Single File will perform the function against a single file. The
  649.       user will be presented with a file selection dialog that will allow
  650.       them to select the file.
  651.  
  652.    B. Single Directory will perform the function against a single
  653.       directory. The user will be presented with a modified file
  654.       selection dialog that will only show the drive and directory entries.
  655.       The directory must be selected by double clicking on the desired
  656.       directory. Simply selecting the directory and then clicking on OK
  657.       will not work because of the way that the file selection dialog
  658.       handles the various messages.
  659.  
  660.    C. All Files in Directory will perform the function against all the
  661.       files in a selected directory. The user will be presented with a
  662.       modified file selection dialog that will only show the drive and
  663.       directory entries.  The directory must be selected by double clicking
  664.       on the desired directory. Simply selecting the directory and then
  665.       clicking on OK will not work because of the way that the file
  666.       selection dialog handles the various messages.
  667.  
  668.    D. All Directories in Directory will perform the function against
  669.       all the subdirectories in a selected directory. The user will be
  670.       presented with a modified file selection dialog that will only show
  671.       the drive and directory entries.  The directory must be selected by
  672.       double clicking on the desired directory. Simply selecting the
  673.       directory and then clicking on OK will not work because of the way
  674.       that the file selection dialog handles the various messages.
  675.  
  676.    E. All Files & Dirs. in Directory will perform the function against
  677.       all the files and subdirectories in a selected directory. The user
  678.       will be presented with a modified file selection dialog that will
  679.       only show the drive and directory entries.  The directory must be
  680.       selected by double clicking on the desired directory. Simply
  681.       selecting the directory and then clicking on OK will not work because
  682.       of the way that the file selection dialog handles the various
  683.       messages.
  684.  
  685.    F. All Files in Directory and SubDirs. is the same as C. above,
  686.       except that MultiMaint will include not only the files in the
  687.       directory but any files found in any subdirectory of the selected
  688.       directory.
  689.  
  690.    G. All Directories in Directory and SubDirs. is the same as D. above,
  691.       except that MultiMaint will include not only the subdirectories in the
  692.       directory but any subdirectories found in any subdirectory of the selected
  693.       directory.
  694.  
  695.    H. All Files & Dirs. in Directory and SubDirs. is the same as E.
  696.       above, except that MultiMaint will include not only the files and/or
  697.       subdirectories in the directory but any files and/or subdirectories
  698.       found in any subdirectory of the selected directory.
  699.  
  700.    I. All Files on Drive will perform the function against all the
  701.       files on a selected drive. The user will be presented with a
  702.       modified file selection dialog that will only show the drive
  703.       entries.  The drive must be selected followed then the OK box.
  704.  
  705.    J. All Directories on Drive will perform the function against all the
  706.       directories on a selected drive. The user will be presented with a
  707.       modified file selection dialog that will only show the drive
  708.       entries.  The drive must be selected followed then the OK box.
  709.  
  710.    K. All Files & Directories on Drive will perform the function against
  711.       all the files and/or directories on a selected drive. The user will
  712.       be presented with a modified file selection dialog that will only
  713.       show the drive entries.  The drive must be selected followed then the
  714.       OK box.
  715.  
  716.                              INICOPY
  717.  
  718. INICOPY is the program that is used by MultiMaint to do the actual
  719. COPY/MOVE operations. This option is implemented as a separate program
  720. so that the user will have the ability to make copies of INI or Extended Attribute files,
  721. including the User and System INI or Extended Attribute files, at any time during the day.
  722.  
  723. The parameters expected by INICOPY are:
  724.  
  725. Required Parameters:
  726.  
  727. -Ifilename  - The fully qualified path and filename of the Source,
  728.               Input, INI or Extended Attribute file.
  729.  
  730. -Ofilename  - The fully qualified path and filename of the Target,
  731.               Output, INI or Extended Attribute file. The Target will be created if it does
  732.               not exist.
  733.  
  734. Optional Parameters:
  735.  
  736. -Fx         - Function requested - Default is C(opy)
  737.               C = C(opy)
  738.               M = M(ove)
  739.  
  740. -E          - COPY/MOVE Entire INI or Extended Attribute file - Default
  741.                                             
  742. -A          - COPY/MOVE All Groups
  743.                                              
  744. -Ggroup     - COPY/MOVE Specific Group
  745.                                              
  746. -Sapp       - COPY/MOVE Specific Application
  747.  
  748. -T          - Use Fast Copy. This is only valid if -E is also specified
  749.