--------------------------------------------------------------------------------

  CopyLock - Version 1.07                                           README.TXT
  Copyright  2001-2004, Nol DANJOU                              January 2004
  All Rights Reserved.

--------------------------------------------------------------------------------


About CopyLock
--------------

  CopyLock is a small program that allows the replacement of one or many files 
  which are currently in use by the system or any other running process.
  Click Add > Files to replace, select the new file and the destination folder,
  click Apply, restart when invited to do so and that's it!

  Notes: 
     
   - the operation may not work if the file to replace is protected by the
     system. Since CopyLock is based on documented APIs it will only allow
     what the underlying system allows.

   - Use the included PSAPI.DLL library only if you get a message stating
     that this file is missing (Windows NT4 only).

  
  Disclaimer: 
     
     You can possibly crash your system or make it unbootable if you are not
     careful, use at your own risk.


  Special thanks to Michael D. Lawler for his extensive tests and feedback.



Summary of possible operations
------------------------------

    +------------------------------------------------------+
    |  Src  |  Dest  | Same folder | Action taken          |
    |------------------------------------------------------|
    |   X   |  [X]   |    yes      | Renames  Src with Dst |
    |   X   |  [X]   |    no       | Moves    Src to   Dst |
    |   X   |   X    |    yes      | Replaces Dst with Src |
    |   X   |   X    |    no       | Replaces Dst with Src |
    |   X   | <none> |    n/a      | Deletes  Src          |
    +------------------------------------------------------+

    Src  : source file
    Dest : destination file
    X    : the file exists
    [X]  : the file does not exist
    "same folder": both files are located in the same folder



Accelerators
------------

    Ctrl+A : select all the files in the list
    Ins    : same as Add > Files to replace
    Del    : deletes the files currently selected in the list



History
-------

  * January 15, 2004 - Build 1.07.40.4

    - renamed Replace button to Apply
    - some minor changes
    - released


  * November 25, 2003 - Build 1.07.39.5

    - fixed the Auto-Close option which was not taken into account
    - added an option that lists the processes by which the source and/or the
      destination files are locked (requires NT4, 2000, XP or later, only applies
      to libraries and executables)
    - added an option to rename locked files
    - added an About box
    - added a context menu (right-click the list)
    - fixed oleacc.dll was required, now it is delay-loaded.


  * March 4, 2003 - Build 1.06.36.2

    - fixed a problem with delayed renaming of existing files, the operation
      might not happen on reboot.
     


  * February 25, 2003 - Build 1.05.34.5

    - items are no more sorted in the listview to respect addition order.
      This is particularly important for QFEs
    - fixed a path parsing problems on NT/2000/XP


  * February 24, 2003 - Build 1.05.32.1

    - fixed GetLongPathNameA could not be found on Windows NT and 95 platforms
    - enhanced error reporting in log file


  * December 17, 2002 - Build 1.04.29.1

    - fixed: focus remained on the Replace button after it got disabled
    - fixed: Replace now update the system list if you remove one or more
      pending operations [retrieved from the system list]
    - added a feature to prevent adding the same operation twice

    Note: always click Replace to apply the changes you make to the list
          otherwise they will be discarded when you exit.


  * December 14, 2002 - Build 1.04.26.6

    - added Auto-Close option: the programs automatically closes after 
      replacement is done if the checkbox is ticked.
    - added status and error messages in tooltips
    - added creation of a logfile once the replacement is done
    - added listing of pending operations from the system when CopyLock is
      launched: you can now see what files an installer replaces or deletes.     


  * September 15, 2001 - Build 1.03.21.6

    - fixed an empty messagebox with a question marked.


  * July 14, 2001 - Build 1.03.20.6

    - added support for the optional /downgrade parameter in command line and 
      the "Allow Downgrade" option in the GUI. If either of these options are
      used then downgrade is authorized otherwise the replacement or the 
      deletion of the file(s) will fail.

      syntax:   
        
        CopyLock [<source file path> [<destination path>] [/reboot]
                 [/downgrade]]

      e.g.:

        CopyLock "c:\temp path\filename.ext" "c:\path to dest folder" /reboot




  * July 10, 2001 - Build 1.02.19.1

    - added support for command line parameters.

      syntax:   

        CopyLock [<source file path> [<destination path>] [/reboot]]

      If you don't specify a destination path then the source file will be
      deleted instead of being replaced.

      Use /reboot if you want CopyLock to reboot your system automatically
      if a reboot is required to complete the replacement or deletion.)


  * June 22, 2001 - Build 1.01.18.5

    - added support for Windows XP Visual Styles


  * June 5, 2001 - Build 1.0.17.7

    - fixed a little problem regarding button focus after removing some files.


  * December 7, 2000 - Build 1.0.16.4

    - added conversion to short path names of files in the wininit.ini file 
      since long file names are not supported
    - changed the wininit.ini management: files are now added to the end of 
      the list
    - updated: test if drives in source and destination paths differ
      (Win9x only, not supported in those systems)
    - updated: asks path again if drives differ (Win 9x only) or if source and
      destination is the same file when adding a file.


  * November 19, 2000 - Build 1.0.12.6

    - added the possibility to delete locked files


  * October 10, 2000 - Build 1.0.11.2

    - fixed the "Show source paths" option


  * October 6, 2000 - Build 1.0.10.5

    - added accelerators: Ctrl+A select all the files in the list
    - added support for drag-and-drop
    - added the possibly to add multiple files at once
    - added an edit box in the dialog box for folder selection
    - added version number in the title of the dialog box
    - added an option to hide or show the full path of source files


  * October 5, 2000 - Build 1.0.7.4

    - Added version checking. Warn if target is older than source.


  * October 4, 2000 - Build 1.0.6.3

    - Enhanced the consistency of the interface
    - Ensures that source and destination paths are different
    - Fixed some bugs


  * September 21, 2000 - Build 1.0.1.4

    - Initial build.



Latest versions 
---------------

  The latest version of CopyLock is always available from my website:
  
    http://noeld.com/download.htm#CopyLock



Contact details
---------------

  E-mail:

    webmaster@noeld.com


  WWW:

    http://noeld.com
