home *** CD-ROM | disk | FTP | other *** search
-
- SCOPY Documentation
- ------------------- 11/20/89
- (C) Copyright 1989 ARTISOFT, Inc.
-
- Description
- -----------
- SCOPY is a DOS file copy program that allows multiple users on a network,
- with SHARE installed, to copy a file at the same time. Concurrent file
- coping is useful in situations where there is a master copy of a file and
- many people on the network need to make there own personal copy of the file.
-
- SCOPY performs a Sharable COPY of a file by opening the source file in SHARED
- mode allowing multiple reads but denying writes to the file during the copy
- procedure. If another program or database has already opened the source file
- in a non-shared mode, (default for DOS is that files are opened in
- compatibility mode, which prevents all other opens on the file) then SCOPY
- will NOT be able to access the file.
-
-
- Running SCOPY
- -------------
- The SCOPY command line is as follows:
-
- Usage is: SCOPY source_file(s) destination_directory_spec
- SCOPY @indirect_file destination_directory_spec
- Comment characters in indirect file can be !#;'
-
- The source file(s) may be specified either as a single file specification
- with or without wildcard characters or via an indirect command file containing
- a list of file specifications.
-
- The destination directory is optional and if omitted will default to the
- current drive and directory. A destination file name is not allowed.
- SCOPY will use the original source file name for the destination file name.
- If the file already exists in the destination directory, it will be
- overwritten.
-
- The indirect_file must be an ASCII file with one file specification per line.
- This file may contain blank lines and comment lines. Comment lines are
- designated by a line that starts with either a ! # ; or '. That is either
- a "bang", "pound_sign", "semicolon" or "single_quote" character.
-
-
- Example indirect file FOO.CMD:
-
- ! This is a list of source files for SCOPY
- !
- \DOS\*.COM
- \UTIL\*.EXE
- \DATA\FOO.DAT
-
- Then the command: "SCOPY @FOO.CMD \MYDIR" would copy all files specified
- by the three filespecs given in FOO.CMD into "\MYDIR" directory.
-
-
- Informative Messages
- --------------------
- A list of files copied will be displayed as SCOPY processes each one.
- If the file is "large", a percentage complete message will be displayed.
-
-
- SCOPYing...
- .
- . (List of file being copied and percentage complete.)
- .
- SCOPY copied nn file(s)
-
-
- Error Messages
- --------------
- Message: "SCOPY-Error: Incorrect number of arguments"
-
- Explanation: There must be one or two arguments specified for SCOPY to run.
-
-
- Message: "SCOPY-Error: Destination file name not allowed"
-
- Explanation: SCOPY will not change the name of files. Only a directory
- location can be specified.
-
-
- Message: "SCOPY-Source file 'FOO.BAZ'"
- "SCOPY-Error: Invalid source file specification"
-
- Explanation: Syntax error in source file name.
-
-
- Message: "SCOPY-Error: Cannot copy a file to itself"
-
- Explanation: A file cannot be copied to itself. Due to the way files are
- buffered in SCOPY, the file could be truncated if allowed.
-
-
- Message: DOS-error "SCOPY-Error: Open failure on source file" or
- DOS-error "SCOPY-Error: Open failure on destination file"
-
- Explanation: A DOS-error was detected during the open attempt on the file.
- 'DOS-error' is expanded to the actual DOS error message.
-
-
- Message: DOS-error "SCOPY-Error: Read error" or
- DOS-error "SCOPY-Error: Write error"
-
- Explanation: A DOS-error was detected during a disk read or write operation.
- 'DOS-error' is expanded to the acutal DOS error message.
-
-
- Message: "SCOPY-Error: READ/WRITE mismatch (Out of Space)"
-
- Explanation: The number of bytes read verses written were not the same.
- Most likely the destination device is full.
-
-
- Message: DOS-error "SCOPY-Error: Cannot update date/time on output file"
-
- Explanation: SCOPY attempts to maintain the source date and time for each
- file. SCOPY detected a DOS error during this operation.
-
-
- Message: DOS-error "SCOPY-Error: Close error on destination file" or
- DOS-error "SCOPY-Error: Close error on source file"
-
- Explanation: A DOS error was detected during a DOS file close operation.
- 'DOS-error' is expanded to the acutal DOS error message.
-
-
- Message: SCOPY-Warning: Output file 'FOO.BAZ' not overwritten
- File 'FOO.BAZ' will not fit on output device.
- Blocks Available: xxxxx
- Blocks Needed: yyyyy
- A-bort SCOPY or R-etry with new media [A,R]:
-
- Explanation: SCOPY detected that there was not enough free space including
- the old copy of the file (if it existed) to successfully copy
- the source file to the destination device. At this time, you
- can abort SCOPY at this point in the file copies or if your
- destination device is a removable media then you could replace
- the floppy/disk with one that has enough free space and have
- SCOPY retry the copy and continue.
-
-
- Message: DOS-error "SCOPY-Error: Can not access destination device"
-
- Explanation: SCOPY detected a DOS error while attempting to get amount
- of free space on the destination device.
-
-
- Message: "SCOPY-Error: Indirect file 'FOO.CMD'"
- DOS-error "Could not open indirect file"
-
- Explanation: A DOS error was detected while attempting to open the indirect
- file.
-
-
- Note: The string "DOS-error" is not output, but is expanded to the
- actual DOS error message via 'C'.
-
-
-
-