K-TOOLS UTILITIES Copyright (c) 1994 by Rob McDonell, ARK ANGLES All Rights Reserved SAFECOPY - Safe File Copy 1.1 This utility copies one or more files to a new location, provided that the same or newer versions of the files do not already exist there. It works just like the COPY command except that it will never overwrite a later version of a file with an earlier one. USEAGE: SAFECOPY [sourcedir]sourcefiles [[targetdir][targetfiles]] [options] where: sourcedir is the location of the existing files, or the current directory if blank sourcefiles is the file to be copied, wildcards are accepted to specify multiple files targetdir is the destination location for the copied files, or the same directory if blank targetfiles is the new file name or names for the copied files, wildcards are allowed for partial renaming of multiple files, or blank if the names are to remain the same options is any of the following: /p pause to ask before overwriting each file /y yes, go ahead and overwrite without asking Both the source directory and target directory must exist. EXAMPLES: SAFECOPY MYFILE.TXT *.DOC will copy MYFILE.TXT from the current directory to MYFILE.DOC in the same directory SAFECOPY *.TXT *.DOC will copy all .TXT files from the current directory to *.TXX in the same directory SAFECOPY \DIR1 \DIR2 will copy all files from the \DIR1 directory to the \DIR2 directory SAFECOPY C:\DIR1 A:\ will copy all files from the \DIR1 directory on drive C: to the root directory on A: Run SAFECOPY with no parameters or "?" or "/?" to display simple help and registration information. REGISTRATION: This program is part of the K-TOOLS UTILITIES shareware package. To keep using it after the 60 day trial period you must register, which costs only A$10 per utility or A$29, US$22, 15, Dm40, 2400 for the whole collection. Author: Rob McDonell ARK ANGLES P O Box 190 (61 Oaklands Rd) Hazelbrook NSW 2779 AUSTRALIA Phone: Intl+61-47-588100 Fax: Intl+61-47-588638 Compuserve: 100237,141 Internet: 100237.141@compuserve.com