home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / DISK / SCOPY202.ZIP / SCOPY.DOC next >
Encoding:
Text File  |  1991-08-12  |  13.1 KB  |  346 lines

  1.  
  2.                                 SCOPY
  3.  
  4.  
  5.       DISKETTE to FILE / FILE to DISKETTE / FILE TO FILE
  6.                COPY and ARCHIVE UTILITY
  7.  
  8.                               Written by
  9.                              Craig Gaumer
  10.                                   and
  11.                               Ed Bachman
  12.  
  13.  
  14.                         For C.E.Gaumer Software
  15.                              P.O. Box 384
  16.                      Laurys Station, PA 18059-0384
  17.  
  18.                 Copyright 1990,1991 All Rights Reserved
  19.  
  20.  
  21.  
  22. SCOPY is a copyrighted program released as SHAREWARE.  You are entitled to use
  23. the program for a short evaluation period without paying for the program.  If
  24. you continue to use SCOPY beyond this evaluation period you are expected to
  25. register the program.  See the registration form at the end of this document or
  26. the SCOPY.REG file in this package.  Note that ANY useage in a commercial,
  27. government or institutional setting REQUIRES a site license.
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.                               DISCLAIMER
  35.  
  36.         It is the sole resposibility of the user to determine the
  37. suitability and fitness of SCOPY for the user's particular needs, uses
  38. and hardware.  C.E. Gaumer Software assumes no responsibility for any
  39. difficulties, problems or loss of data resulting from the use of SCOPY,
  40. even if C.E. Gaumer Software has been informed of the possibility of
  41. such difficulties, problems or losses.
  42.  
  43.  
  44.                            GENERAL OVERVIEW
  45.  
  46.         The general purpose of SCOPY is to copy a diskette into a file
  47. and back.  The final diskette is a reproduction of the original diskette
  48. as if it had been made with DISKCOPY.  This is useful if you have a set
  49. of diskettes on which the files must reside on the proper diskette
  50. and/or in the proper subdirectory for an install program or for indexing
  51. or other purposes.  Since SCOPY can now do LZ compression and the SCOPY
  52. file contains its own CRC checksum, SCOPY's usefulness for archiving and
  53. modem transfers has been greatly enhanced.  Also, since the file can
  54. reside on the hard drive, memory size is not a limiting factor so a
  55. DISKCOPY type operation can be done in a single pass, even in the
  56. larger diskette formats.  For this type of operation SCOPY to a ramdisk
  57. can speed execution.
  58.  
  59.  
  60.  
  61.              USE OF SCOPY 2.02 WITH OLDER SCOPY VERSIONS
  62.  
  63.         SCOPY, as in previous releases, is 100% backward compatible.
  64. Any SCOPY file created with an older version of SCOPY can be properly
  65. read by SCOPY 2.02.  SCOPY 2.02 files created without compression can be
  66. read by the older registered versions of SCOPY (prior to 2.00), but the
  67. older version will not be able to verify the CRC checksum in the file.
  68. If LZ compression is used to create a SCOPY file older versions of
  69. SCOPY will report that the resultant file is "NOT A SCOPY FILE".
  70.  
  71.     There has been no change to the file structure since Version
  72. 2.00.  Therefore, this version is 100% compatible with 2.00 and above.
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.                           USAGE and SWITCHES
  81.  
  82.         There are four different sets of syntax for SCOPY depending on
  83. the source and destination of the copy or the information requested.
  84. These will be discussed individually.  Typing SCOPY with no parameters
  85. at all will show a help screen for ready reference.
  86.  
  87.     The general rule is: SCOPY Source Destination [Switches]
  88.  
  89. Although multiple switches are shown in this document using a slash to
  90. precede each switch all the switches on the command line may be grouped.
  91. The switches are also NOT case sensitive (i.e. SCOPY A: TEST /O /R is
  92. identical to SCOPY A: TEST /OR and scopy a: test /o /r) When SCOPY
  93. reads or writes a file the default extender is .SCP but the user may
  94. supply a different extender or, by typing the period, indicate to SCOPY
  95. not to use any extender.
  96.  
  97.  
  98.  
  99.  
  100.                   SCOPYING FROM A DISKETTE TO A FILE
  101.  
  102. The proper syntax is:
  103.  
  104. [Drive][Path]SCOPY Src_Drive: [Drive:][Path]Dest_Filename[.Ext] [/O][/C][/R]
  105.  
  106. /O (Overwrite) causes no prompt if the destination file already exists
  107. /R (Remark) prompts the user for a comment to be included in the file
  108. /C (Compress) causes the destination file to be LZ compressed
  109.  
  110. Example:
  111.  
  112.     SCOPY A: C:\UTILITY\THISDISK /R
  113.  
  114. Would SCOPY the diskette in A to THISDISK.SCP in the UTILITY directory
  115. of drive C prompting the user for a remark to be included in the file.
  116. If the file THISDISK.SCP already existed the user would be prompted and
  117. asked permission to overwrite the existing file.
  118. (of course if C:\UTILITY is the current directory then
  119.  
  120.     SCOPY A: THIDISK /R
  121.  
  122. is identical to the above example)
  123.  
  124.         Even without any switches SCOPY compresses the file slightly.
  125. This compression affects only sectors in which all the bytes of the
  126. sector are identical.  Even on a diskette with "0 bytes free" there is a
  127. good chance that there are unused sectors since the diskette space is
  128. usually alocatted in 2 sector clusters.  However erased files are not
  129. compressed because any sectors which contain data are not compressed
  130. even if that data is unused by any file.  This often happens on a
  131. diskette where files have been erased.
  132.  
  133.         The /C switch causes SCOPY to create the file using the LZ
  134. compression method.  This results in a higher level of compression but,
  135. of course, takes more time.  If the resultant SCOPY file is to be
  136. temporary (as when using SCOPY only to do one pass DISKCOPY or make
  137. multiple copies from a single disk read) then, to increase speed, the 
  138. /C switch should not be used. 
  139.  
  140.         The diskette created with SCOPY is identical to the original.
  141. If the original was a boot disk the copy will be bootable.  If the
  142. original has files which could be unerased then the copy will also.
  143.  
  144.     When the /R switch is used the user is prompted for a remark to
  145. be included in the SCOPY file.  The remark is displayed when SCOPY
  146. accesses the file and can be written to the file SCOPYLBL.TXT when a
  147. diskette is created from the file (see SCOPYING FROM A FILE TO A
  148. DISKETTE below) The remark is limited to 128 characters in length.
  149.  
  150.     When SCOPYing multiple diskettes in one session the DOS command 
  151. line keys (F3, the arrows, etc.) work when editing REMARKS after the 
  152. first unless some TSR command line program interferes.The remark entry 
  153. can also be redirected from a file using the DOS redirection operator 
  154. on the command line.  The remark does not appear anywhere on the 
  155. diskette(s) created from the SCOPY file.
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.                   GETTING INFORMATION ON A SCOPY FILE
  163.  
  164. The syntax for this is:
  165.  
  166. [Drive:][Path]SCOPY [Drive:][Path]Source_Filename[.Ext] [/V]
  167.  
  168. This displays information on a SCOPY file.
  169.  
  170.         The information about the original diskette is given along with the
  171. remark included in the file (if any). The compression level used by
  172. SCOPY when the file was created is shown if the file is compressed.
  173.  
  174.         The /V switch causes the data in the SCOPY file to be Verified
  175. using the CRC checksum and, if LZ compression was used, the LZ testing.
  176.  
  177. Example:
  178.  
  179.     SCOPY THISDISK /V
  180.  
  181. will show the type of diskette from which the file THISDISK.SCP was
  182. created and the remark, if any.  The file will be read and the CRC
  183. checksum verified since the /V switch is specified.
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.                   SCOPYING FROM A FILE TO A DISKETTE
  191.  
  192. [Drive:][Path]SCOPY [Drive:][Path]Src_Filename[.Ext] Dest_Drive:
  193. [/O][/N|F][/H][/R]
  194.  
  195. Where /O (Overwrite) causes no prompt if the diskette already contains data,
  196. /N (No format) causes the destination diskette not to be formatted and
  197. /F (Format) causes the destination diskette to be formatted.
  198. /H (Hi Density) forces setting up for formatting of a 360K diskette
  199.   in a 1.2 Meg drive where the presence of a 1.2 Meg Drive cannot be
  200.   automatically determined.
  201. /R (Remark) appends the remark, if any, in the SCOPY file, to a file
  202.    called SCOPYLBL.TXT in the current directory.
  203.  
  204.         The /O switch causes any existing data on the diskette to be
  205. overwritten without prompting the user.  Without the switch the
  206. diskette directory is read and permission is requested to overwrite if
  207. the diskette contains any data (even a volume name or hidden file).
  208. The /N switch causes the destination diskette NOT to be formatted and
  209. the /F switch forces the diskette to be formatted.  The default (used
  210. when neither /F or /N is used) is to check the diskette to see if it
  211. has the correct format and, if not, to format the diskette while
  212. writing the data.  Formatting is performed on a track by track basis
  213. and the data is written while the heads are on the track so the entire
  214. process (formatting and writing) is done in one pass of the heads
  215. across the diskette.  The /H switch is not normally required on AT
  216. class computers.  It tells SCOPY that a high density diskette drive is
  217. installed and a low density diskette is being created.  SCOPY can
  218. normally detect this automatically in AT class machines. The /H switch
  219. is only needed when formatting a 40 track diskette in a high density
  220. drive on a machine not capable of telling SCOPY that the drive is high
  221. density.  As a side note: SCOPY has the ability to format 1.44 Meg and
  222. 720K 3.5 inch diskettes to 360K, however, some 3.5 inch drives
  223. (including those in IBM PS/2's) are not able to read 360K 3.5
  224. inch diskettes.  SCOPY also will format 1.44 Meg diskettes to 720K but
  225. SCOPY will NOT format 720K diskettes (without the density hole) to 1.44
  226. Meg.  The /R switch appends the remark in the SCOPY file, if one
  227. exists, to the file SCOPYLBL.TXT in the current directory.  If the file
  228. SCOPYLBL.TXT does not exist it is created.  This feature was added at
  229. the request of a user so that the resultant SCOPYLBL.TXT file could be
  230. used to generate diskette labels.
  231. Example:
  232.     SCOPY THISDISK A: /O
  233.  
  234. Would check the diskette in drive A: and format it (if necessary) while 
  235. writing the data from THISDISK.SCP.  If the diskette already contained 
  236. data it would be overwritten without prompting the user (/O).
  237.     If a partially formatted diskette is being written to, the /F 
  238. switch should be used as SCOPY may incorrectly determine that the 
  239. diskette is already formatted.  This partial format is usually caused 
  240. by the user having aborted an earier SCOPY while the diskette was being 
  241. formatted.
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.                    SCOPYING FROM ONE FILE TO ANOTHER
  249.  
  250. [Drive][Path]SCOPY [Drive:][Path]Src_Filename[.Ext] [Drive:][Path]
  251.             Dest_Filename[.Ext] [/O][/C][/R]
  252.  
  253.         This allow SCOPYing from one SCOPY file to another.  Useful for
  254. changing the remark or compression level or for adding the CRC
  255. checksum to older SCOPY files.
  256.  
  257.         The switches affect the destination file in the same way as they
  258. do in Diskette to File, except that if /R is NOT specified the remark is
  259. transferred intact from the source to the destination file.  If /R is
  260. specified the user is prompted for a remark in the normal manner.
  261.  
  262.  
  263.                                COMMENTS
  264.  
  265.         Any comments you have about SCOPY or suggestions for additions
  266. to future releases will be welcomed.
  267.  
  268.         Questions or comments may be addressed to the author at:
  269.  
  270.         C.E. Gaumer Software
  271.         P.O. Box 384
  272.         Laurys Station, PA 18059-0384
  273.  
  274.         If you are reporting a problem with SCOPY please include
  275. information on the Diskette SCOPY'd from and to, the type and make of
  276. diskette drives involved and the type and configuration of your system.
  277.         Thank You.
  278.  
  279.              TECHNICAL INFORMATION
  280.  
  281.     SCOPY, in its earlier versions, has been in use for over a
  282. year.  Hundreds of megabytes of SCOPY files are in use as archives of
  283. program diskettes and other files.
  284.  
  285.     SCOPY is written in C and compiled using Microsoft(R) C 6.0.
  286.  
  287.     SCOPY has been tested in a number of network environments and
  288. has functioned well in testing on 8088, 80286 and 80386 IBMs(R) and
  289. clones.
  290.  
  291.     SCOPY returns errorlevels which can be tested in batch file
  292. operations and which provide complete information on the success or
  293. failure of the requested operation.  A complete listing of the
  294. errorlevels returned by SCOPY is included in the documentation in the
  295. registered version.
  296.  
  297.     The only known bug in SCOPY 2.02 does not cause any problems 
  298. with either the files or diskettes created.  The problem appears only 
  299. when a DOS "hard error" occurs in certain network environments. A DOS 
  300. "hard error" includes such things as "drive not ready" and "write 
  301. protect violation".  In these cases and ONLY under the offending 
  302. network environments, SCOPY terminates normally taking the usual 
  303. closing actions except that the error message informing the user of the 
  304. reason for termination does not appear. 
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.                         SCOPY REGISTRATION FORM
  313.  
  314.  
  315.  
  316. Name:____________________________________________________
  317.  
  318.  
  319. Address:_________________________________________________
  320.  
  321.  
  322. City:__________________________State:______Zip:__________
  323.  
  324.  
  325. Diskette Type Requested:    5-1/4"_____       3-1/2"_____
  326.  
  327.  
  328. Number of copies requested:_________________
  329.  
  330.  
  331. Amount Enclosed:($20 per copy)$______________
  332.  
  333.  
  334. Send to:
  335.  
  336.         C.E.Gaumer Software
  337.         P.O. Box 384
  338.         Laurys Station, PA 18059-0384
  339.  
  340. Write for volume discounts or site licensing.
  341.  
  342. Thank You
  343.  
  344. Comments:
  345.  
  346.