MOVE\MOVE.DOC  ·  DOC  ·  4.2 KB  ·  1989-10-01  ·  from PersonalComputing_Oct-1989
                            MOVE.EXE V1.11
                           by David Foster

This is an enhanced version of MOVE, published on an earlier disk.

Version 1.11 has several improvements over the original version.

1.  A bug has been fixed, which caused problems copying files from the
root directory in certain circumstances.

2.  File moving is considerably faster than previously and the program
size has been considerably reduced.

3.  An extra 'Update' switch '/U' has been provided, to restrict
moving of files to those where the date/time of the file to be moved
is newer than an existing file of the same name in the destination
directory, or the file does not exist.

4.  The Destination directory may be omitted if the destination is the
currently selected directory of the current drive, in similar fashion
to the MS-DOS COPY command.

5.  If only the destination drive letter is specified, files will be
copied to the current directory of that drive, rather than the root
directory, in similar fashion to the MS-DOS COPY command.

6.  More thorough checking is done for the existence of the
destination directory and also for the destination directory being
different from the source directory.

7.  The destination directory name is displayed before files are
offered for moving.


MOVE is a program to move files from a directory, or, optionally, any
sub-directories, to another directory and/or drive, deleting the
original files once they have been copied to the new directory.

Files may be viewed before transfer and only printable characters are
displayed. This is a convenient way of ensuring they are files you
want to move. The View facility in MOVE can also be used to view any
text in a Binary file, or as a means of viewing a number of text
files, by specifying the name, viewing and then selecting 'No' when
asked whether you wish to move the files.


Several options are available to modify the way the program works.

SYNTAX

    MOVE <filespec> (<destdir>) (/K) (/N) (/S) (/U)

where
<filespec> may include drive letter, path and a filename, including
wildcards.
<destdir> is optional and is the name of the directory/drive to which
the files are to be moved. If omitted, files will be moved to the
current directory of the current drive.
/K is optional and, if used, the original files are KEPT. In effect,
it is a COPY rather than a move.
/N is optional and results in NO confirmation of each file move being
requested.
/S is optional and causes all files in sub-directories of the
directory specified in <filespec>, or the current directory, if none
specified, also being searched for matching file names.
/U is optional and causes only those files with a more recent
time/date than an existing file of the same name, or those files which
are not already present at the destination, to be moved.

EXAMPLES
MOVE OLDDIR\*.* B:\NEWDIR   - Offer all files in OLDDIR directory, off
                            the current directory, for moving to a
                            directory on drive B: called NEWDIR.
MOVE A:\*.DOC  /S           - Offer all DOC files on drive A: for
                            moving to the current directory of the
                            current drive.
MOVE *.DOC \NEWDIR /N /S    - Move all DOC files in current and sub-
                            directories to \NEWDIR without requesting
                            confirmation, deleting the originals.
MOVE *.DOC \NEWDIR /N /S /K - Copy all DOC files in the current and
                            sub-directories to \NEWDIR without asking
                            for confirmation and without deleting the
                            originals.
                            This is similar to XCOPY with the /S
                            option, with the exception that all files
                            are copied into the specified directory
                            and new sub-directories are not created.
MOVE *.MOD A: /U /N         - Move all '.MOD' files in the current
                            directory to drive A: if they are more
                            recent or do not already exist on drive
                            A:.