
FORMAT

The format of the Diskpack command is

[d:][path]DISKPACK [d:][path]filename[.ext] d: [options]

where

[d:][path] 
   before DISKPACK specifies the drive and path that
   contains the Diskpack program.  

[d:][path] 
   after DISKPACK specifies the drive and path that contain
   the file(s) you want to back up (source).

filename[.ext] 
   specifies the file(s) you want to back up.  Global file
   name characters are allowed in the file name, and cause
   all of the files matching the file name to be backed up.

d: 
   specifies the drive that will contain the backed up files
   (target).

[options]
   specifies optional parameters described below.


OPTIONS

The following options can appear in the Diskpack command.

/? 
   Display help.

/1
   Do not prompt to insert the first backup disk.

/A 
   Do not change the archive bit of each file copied. 
   Without this option, Diskpack clears the archive bit of
   each file it backs up.  When cleared, the archive bit
   indicates that a file has not been changed since it was
   backed up.  Whenever DOS writes to a file, it sets the
   archive bit to mark it as changed.  Normally, you should
   omit this option so that /M can be used to back up files
   that have been modified since the last backup.

/B 
   Beep when prompted to insert a disk.

/C[[d:][path]filename[.ext]]
   Create a catalog file containing a list of all the files
   backed up.  You can specify the name of the catalog file
   (and a drive and path).  If you don't, the file
   DISKPACK.CAT will be created in the current directory. 
   You cannot put the catalog file on the backup disk.

   The catalog file is a DOS text file and can be viewed
   using a text editor or displayed on the screen with the
   DOS TYPE command.

     type diskpack.cat

/Dmm-dd-yy
   Back up files that have been modified on or after the
   specified date.  The format of the date specified must be
   mm-dd-yy.

/H 
   Include hidden files.  This will cause all files marked as
   hidden to be included on the backup disks. If you're
   backing up the root directory, the DOS hidden files
   IBMBIO.COM and IBMDOS.COM will be copied.  You can
   avoid restoring these files to a system using a different
   version of DOS with the dRestore /P1 option.    

/I 
   Display registration information (unregistered version
   only).

/M 
   Back up files that have been modified since the last
   backup.  A file has been modified if its archive bit is set
   (see option /A).

/P 
   Display a (y/n)? prompt before copying each file.  You
   can choose to back up the file or not.

/S 
   Back up subdirectory files in addition to the files in the
   specified or current directory.

/V 
   Display a verbose description of the back up process. 

/W 
   Prompt the user to press a key before reading source
   file(s).


NOTES

ü  Press Ctrl-Break to stop Diskpack.

ü  New disks must be formatted with the DOS FORMAT
   command.

ü  You can't back up to a hard disk.

ü  Files are backed up from the current directory if you do
   not specify a path.  

ü  Files are compressed as they are copied.

ü  You can't use the DIR command on backup disks.  To get
   a list of files, display the catalog file or use the dRestore
   /D option.

ü  You can't use the COPY command to copy files contained
   on backup disks.  

ü  Use high quality disks.  

ü  Do not use disks with bad sectors as backup disks.
   Diskpack will check the File Allocation Table of each disk
   and reject those that have clusters marked as bad.

ü  Diskpack erases files already present on the backup disks.


EXAMPLES

The following example backs up all the files from disk drive 
C to drive A.

   diskpack c:\*.* a:/s

The following example backs up the file FILE.TXT from drive
C to drive A.  A verbose description of the backup process
is displayed.

   diskpack c:file.txt a:/v

The following example backs up all files from drive C that
have been modified since the date 01-01-88 to drive A.

   diskpack c:\*.* a:/s/d01-01-88

The following example backs up all files from drive C to
drive A that have been modified since the last backup.

   diskpack c:\*.* a:/s/m

The following example backs up all files in the current
directory to drive A and creates catalog file DISKPACK.CAT
in the current directory.

   diskpack *.* a:/c

The following example backs up all files with an extension
WK1 in directory \123 and all subdirectories of \123 to drive
A.

   diskpack \123\*.wk1 a:/s

