home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / LCOPY41.ZIP / LCOPY.TXT < prev   
Text File  |  1990-08-13  |  8KB  |  169 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                          LCOPY V4.1 documentation (FREE!!!)
  8.  
  9.           NB: Use this program entirely at your own risk. I take no respon-
  10.           sibility towards anybody using this program.
  11.  
  12.           LCOPY is a program written especially to copy high density  disks
  13.           on  a one drive system.  Using the DOS copy command usually takes
  14.           four swaps before a 1.2meg disk is complete.  This often leads to
  15.           confusion, and sometimes even copying over the source disk!
  16.  
  17.           This  gave me the idea of writing a program to do it in one pass.
  18.           The program still allows you to copy low density  disks,  thereby
  19.           being a total replacement for the DOS diskcopy command.
  20.  
  21.           LCOPY  makes  use  of  the "cheap" memory that your harddisk sup-
  22.           plies. The program reads in the entire disk in large chunks,  and
  23.           stores  these  in  a temporary file on the harddisk.  The program
  24.           will check if there is sufficient space on the harddisk. When the
  25.           copy is complete, the file is erased. Simple!
  26.  
  27.           EMS is used automatically if available. Obviously there must also
  28.           be enough EMS.  I have also implemented the use of XMS as of this
  29.           version.  As  of  version  4.1 the search method is: XMS,  if not
  30.           found try EMS,  if not found look for a ramdisk,  if that is  not
  31.           found, use the harddisk.
  32.  
  33.           The  program is also quite fast.  It may even be faster in future
  34.           versions. Just have patience.
  35.  
  36.           Invoke lcopy as follows:
  37.  
  38.                LCOPY [options]
  39.  
  40.           where the options are as follows:
  41.  
  42.           /s:drive       the floppy disk to use for the copy.
  43.           /t:drive       the disk where the file is/will be stored.
  44.           /r             only read the disk to a file.
  45.           /w             only write the file back to a disk.
  46.           /f:filename    the filename to use for the copy.  If no extension
  47.                          is given, then the default of .DSK will be used. A
  48.                          full  pathname  may  be  used,  but  if a drive is
  49.                          specified, it will be ignored.  Use /t: to specify
  50.                          the drive.
  51.           /v             verify data as it is written.
  52.           /m             use  this  command when copying to a disk with bad
  53.                          sectors.  LCOPY will then try to move  files  away
  54.                          from the bad sectors on the destination disk! This
  55.                          procedure  is  totally  safe,  and no data will be
  56.                          lost. The bad sectors will be marked as un-usable.
  57.                          Please do not use DISKCOMP on disks that you  have
  58.                          used the /m option.  They will not be the same. To
  59.                          make double sure everything is in order,  use  the
  60.                          /v  option with this command.  This command should
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                          not be used to copy 1.2 meg disks to  360k  disks.
  68.                          This  is  an  unsafe  practice and should never be
  69.                          done.
  70.           /b:xxx         perform a batch  copy.  xxx  specifies  number  of
  71.                          disks  in  the  batch.  This command reads all the
  72.                          disks first,  and then writes them back  to  disk,
  73.                          formatting if necessary.  This command can be used
  74.                          with any of the other commands.  If you specify  a
  75.                          filename, the extension will be ignored.
  76.           /a             always format the target disk.
  77.           /h or /?       a help screen similar to this.
  78.  
  79.  
  80.           Examples:
  81.  
  82.           lcopy /b:5               reads  five disks,  stores them,  writes
  83.                                    them back to new disks
  84.           lcopy /s:b /t:e          reads a disk in drive B, stores the tem-
  85.                                    porary file on drive E,  writes the file
  86.                                    back to drive B
  87.           lcopy /w /f:disk1 /m /v  writes a temporary file called disk1.dsk
  88.                                    stored  on  drive  C  to drive A,  moves
  89.                                    files that are on bad sectors,  verifies
  90.                                    the integrity of the data.
  91.  
  92.           The  default parameters are /s:A: /t:C: and the file will be read
  93.           and written back to the disk.  These parameters may change  if  a
  94.           ramdisk with enough space is detected.
  95.  
  96.           Version 2.0 enhancements:
  97.  
  98.           1.   It is now able to format the target disk.
  99.           2.   There  was  a  bug  that  caused the program to crash if you
  100.                changed media just before the copy.  eg if you took a direc-
  101.                tory of a 360k disk and then tried to use LCOPY straight af-
  102.                terwards to copy a 1.2meg disk, the program would crash.
  103.           3.   Better error messages.
  104.  
  105.           Version 3.0 enhancements:
  106.  
  107.           1.   Automatically detects and uses ramdisks.
  108.           2.   Changed the way parameters are entered.
  109.           3.   Can specify a different filename.
  110.           4.   Allows  you  to only read or write the disk.  Useful for ar-
  111.                chiving purposes,  and for transferring  complete  disks  by
  112.                modem. This feature can also be used to make multiple copies
  113.                of a disk without re-reading the source.
  114.  
  115.           Version 3.1 enhancements and bug fixes:
  116.  
  117.           1.   Version  3.0  did not work unless you specified some command
  118.                line parameters.  This has been  fixed.  Unfortunately,  the
  119.                program is now an EXE file.  Please remove the COM file from
  120.                your harddisk before using the EXE version.
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.           2.   EMS is used, if available.
  128.           3.   Under DOS 4.x,  unique volume serial numbers  are  generated
  129.                for each disk, no matter how many times a disk is copied.
  130.           4.   The  colours  that  I  used  were  unreadable  on monochrome
  131.                monitors. This has been fixed.
  132.  
  133.           Version 4.0 enhancements and bug fixes:
  134.  
  135.           1.   The disk serial number was displayed incorrectly.
  136.           2.   Batch copies are supported.
  137.           3.   On completion, the program asks if another copy is required.
  138.                The previous command line options are used.
  139.           4.   Files can automatically be moved away from bad sectors.
  140.           5.   If EMS and a ramdisk was available,  LCOPY  would  terminate
  141.                with  "Not enough disk space for temporary file" even though
  142.                there was enough EMS. This has been fixed.
  143.           6.   Partially formatted disks that were  created  with  FASTBACK
  144.                can now be copied to without re-formatting first.
  145.           7.   Under some circumstances, disks copied using EMS were copied
  146.                incorrectly.
  147.           8.   The screen display has changed since the previous version.
  148.           9.   The program is now more compatible with XT type machines.
  149.  
  150.           Version 4.1 enhancements and bug fixes:
  151.  
  152.           1.   A format can now be forced.
  153.           2.   XMS support has been added.
  154.           3.   After exciting LCOPY V4.0,  the A: drive was disabled.  This
  155.                has been fixed.
  156.           4.   The screen is now cleared properly in modes which have  more
  157.                than 25 lines.
  158.           5.   I have increased the speed of EMS usage by a factor 2!
  159.           6.   WARNING:  On  some PC's that use old versions of Microsoft's
  160.                RAMDRIVE, LCOPY may crash. The only fix that I know of is to
  161.                upgrade RAMDRIVE, or to force LCOPY to use a harddisk.  (use
  162.                the /t:c switch)
  163.  
  164.           Richard Ellerbrock
  165.           10/08/90
  166.  
  167.           Thanks goes to Roelof J. van Suilichem for many of the ideas.
  168.           Thanks also goes to Geoff Dellow for the file move idea.
  169.