home *** CD-ROM | disk | FTP | other *** search
- Opticopy V2.10 (c) (With ZIP Split.)
-
- P J Tewkesbury. April 1991.
-
- This program is Shareware.
-
- Opticopy V2.10 (c) P J Tewkesbury was based on a program of the same name by
- Alan D. Ariel.
-
- Disclaimer
-
- The developer of this software makes absolutely no warranty or guarantee as
- to program performance or suitability for a given purpose. You use
- OPTICOPY V2.10 your own risk.
-
- What is Opticopy?
-
- Have you ever thought you had exactly the right number of disks to copy all
- of the files you needed, only to discover you were wrong ? That is the
- purpose behind OPTICOPY. It determines the minimum number of disks needed to
- copy a group of files to floppy disk. It accepts as many directory masks
- (e.g., *.PAS) as will fit on the command line. It looks at the cluster size
- of all of the files and determines the best copying scheme for the minimum
- number of disks using a modified best fit algorithm. OPTICOPY does NOT do the
- copying for you. Instead, it produces a batch file which you can run to
- accomplish the copying.
-
- Command Line Format.
-
- Usage :- OC <Target Drive> <Opticopy Size> <mask> [/<options>]
- [<mask> [/<options>] ...
-
- <Target Drive> : This is either A: or B: When the program is run, a disc of
- the correct density will have to be in the drive, so that
- Opticopy can obtain the correct number of clusters per
- disc.
-
- <Opticopy Size> : This parameter can be any number between 1 and 4, and
- specifies the size to opticopy to.
- 1 : 360Kb
- 2 : 720Kb
- 3 : 1.2Mb
- 4 : 1.44Mb
-
- <mask> : Each mask can include a pathname and the name of a file,
- or a wild card. The options which can be specified can be
- selected for each mask.
-
- <options> : There are 2 different options which can all be used
- together. Options are specified by using the '/'
- character, and then the option letter. Note, only one '/'
- character is needed per set if option letters.
-
- /S option : This option will make Opticopy check all the
- subdirectories using the same wild card. In this way,
- complete applications with there own directory structures
- can be opticopyed.
-
- /R option : This option will reproduce the directory structure on the
- target discs.
-
-
- Examples:-
-
- OC A: C:\APPS\WP51\*.* /SR D:\APPS\PBRUSH\*.PCX
-
- This command will produce a OPCOPY.BAt file on the current directory. The
- batch file will include all the files from C:\APPS\WP51\*.* including all the
- subdirectories in the directory, and all the PCX files in D:\APPS\PBRUSH
- directory. The directory structure will also be reproduced on the target
- drive for the C:\APPS\WP51 files.
-
- Special Features of Opticopy V2.10
-
- A. A check of the number of files placed in the root directory is made. And
- error will be reported if too many files are placed in the root directory of
- the target disc. (112 files per root directory for 360K, and 720K discs, and
- 224 files per root directory for 1.2Mb and 1.44Mb discs.)
-
- B. Directory structures can be produced on the targets discs. XCOPY can then
- be used to transfer the files back to a hard disc.
-
- C. The size of the directories is taken into account when the Opticopy is
- working.
-
- D. If Opticopy V2.10 comes across a ZIP file which is larger than the target
- disc, then Opticopy will then split the ZIP file into a number of smaller ZIP
- files. These files are then Opticopyed in the usual way. (See ZIP Split for
- more information.)
-
- E. If Opticopy V2.10 comes across a files which is larger that the target
- disc, then it is removed from the list of files to opticopy. The name of the
- file is also displayed on screen.
-
- Opticopy Error Codes.
-
- There are the error codes which are returned to MSDOS via errorlevel.
-
- Error Code Source File Error.
- ---------------------------------------------------------------------------
- 0 All OK.
- 1 oc_scan No free memory for sfile array
- 2 oc_scan No free memory for tree array
- 3 oc_sub No free memory for files array
- 4 oc_sub Invaild number of parameters given
- 5 oc_sub Invaild target drive specified.
- 6 oc_sub Invaild opticopy size specified
- 7 oc_sub Error with ZIP Split.
- 8 oc_sub Option given, but no preceeding mask.
- 9 oc_sub To many files for root directory.
- 10 oc_sub No files to opticopy.
-
- Shareware Notice.
-
- Under the Shareware Concept, the release disks may be freely copied and shared to
- allow others to try Opticopy V2.10. We suggest that this "Evaluation Period"
- be limited to 30 days. If you use Opticopy V2.10, we expect you to register
- your copy.
-
- To Register your copy of Opticopy V2.10, please send £10 to the author. (See
- Below.) Also, if you find any bugs, or have any comments about Opticopy V2.10,
- please send then to the author with a SAE for your reply.
-
- Author:-
- Mr P J Tewkesbury,
- 26 Garthorp Road,
- Northrern Moor,
- Manchester,
- M23 OAS,
- England.