
#VG ARCHIVE WINDOWS#
VGArchDir runs under and has been tested with Windows NT 4.0, XP, Windows 2000, and the 64-bit version of Windows 7. However, other files in the Archives Directory that do not match the expected pattern will be included in the Target File. In other words, if Y:\VB\VGMirror\ is the Starting Directory, then files matching Y:\VB\VGMirror\Archives\VGMirror*.ZIP are not included in the Target File created (such as Y:\VB\VGMirror\Archives\VGMirror19990720.ZIP).
#VG ARCHIVE ZIP FILE#
The existing ZIP files located in the Archives Directory-and that match the naming pattern expected for the name of the Starting Directory-are not included in the ZIP file created. The maximum number of 5 files is programmatically fixed and cannot be modified by the user. Up to 5 consecutive ZIP files are retained in the Archives Directory, each with a different name based on the date created, with no more than 2 files created for any single day (using the added "a" for the more recent file on this date). (A pre-existing copy, if any, of "Y:\VC\VG32_19990720a.ZIP" is overwritten in this operation.) For example, if the intended Target File is "Y:\VC\VG32_19990720.ZIP", but a file of this name already exists, VGArchDir will leave the existing file "Y:\VC\VG32_19990720.ZIP" unchanged, and will create as the new Target File a file named "Y:\VC\VG32_19990720a.ZIP".

If the intended Target File name already exists (i.e., has been saved in the Archives Directory with a Target File name including the current date), VGArchDir retains the earliest ZIP file created for the current date with name unmodified, but names the newly created Target File with the letter 'a' inserted before the ".ZIP" extension. If the Starting Directory is the root directory of the drive (e.g., "Y:\"), the target file name starts with the characters "RootDir" e.g. If the Starting Directory Name ends in a digit (e.g., "Y:\VC\VG32\"), the filename of the new target file created will contain "_" after the Starting Directory Name e.g. (Optionally, VGArchDir also includes in the target file the files in the subdirectories of the Starting Directory, see below). This target file (ZIP file) contains the files in If the FQDS of the Starting Directory is "Y:\VB\VGMirror\" and the current date is July 20, 1999, VGArchDir creates a new ZIP file (Target File) with the following FQFS:

Using this terminology, here are some examples of what VGArchDir does and the filenames it creates: It may be given by a Fully Qualified File Specification (FQFS). Target File = the ZIP file to be created by VGArchDir in the Archives Directory. It is created if it does not already exist. The Starting Directory Name is a folder name, such as "VGMirror", that is the final part of the Fully Qualified Directory Specification (FQDS) of the Starting Directory, such as "Y:\VB\VGMirror\".Īrchives Directory = a child subdirectory named "Archives" and located directly under the Starting Directory. Starting Directory = the directory that is considered current under the operating system situations described below, or that is explicitly specified as the starting directory by the command invoking VGArchDir. WinZip32.exe is not included and should be obtained from WinZip.

This program has been developed with WinZip32 version 5.0 through 12, but will probably work with later versions.
#VG ARCHIVE ARCHIVE#
VGArchDir is a utility program that invokes WinZIP32.exe to archive the current or specified directory to a ZIP file stored in the "Archives" subdirectory of that directory.
#VG ARCHIVE MANUAL#
VG Archive Directory Program Manual DESCRIPTION
